MediaWiki
REL1_22
|
Public Member Functions | |
constructorTestProvider () | |
instanceProvider () | |
testConstructor (array $data, $loadDefaults) | |
constructorTestProvider | |
testSaveAndRemove (array $data, $loadDefaults) | |
constructorTestProvider | |
testSetField (IORMRow $item) | |
instanceProvider | |
testSetFields (IORMRow $item) | |
instanceProvider | |
Protected Member Functions | |
assertFieldValues (array $expected, IORMRow $item) | |
getMockFields () | |
getMockValues () | |
getRowClass () | |
getRowInstance (array $data, $loadDefaults) | |
getTableInstance () | |
verifyFields (IORMRow $row, array $data) |
Definition at line 40 of file ORMRowTest.php.
ORMRowTest::assertFieldValues | ( | array $ | expected, |
IORMRow $ | item | ||
) | [protected] |
array | $expected | |
IORMRow | $item |
Definition at line 186 of file ORMRowTest.php.
References $name, as, and IORMRow\getField().
Referenced by testSetFields().
ORMRowTest::constructorTestProvider | ( | ) | [abstract] |
ORMRowTest::getMockFields | ( | ) | [protected] |
Definition at line 103 of file ORMRowTest.php.
References $name, array(), as, getMockValues(), and getTableInstance().
Referenced by testSetField(), and testSetFields().
ORMRowTest::getMockValues | ( | ) | [protected] |
Reimplemented in TestORMRowTest.
Definition at line 87 of file ORMRowTest.php.
References array().
Referenced by getMockFields().
ORMRowTest::getRowClass | ( | ) | [abstract, protected] |
ORMRowTest::getRowInstance | ( | array $ | data, |
$ | loadDefaults | ||
) | [protected] |
array | $data | |
boolean | $loadDefaults |
Definition at line 77 of file ORMRowTest.php.
References getRowClass(), and getTableInstance().
Referenced by testConstructor(), and testSaveAndRemove().
ORMRowTest::getTableInstance | ( | ) | [abstract, protected] |
Reimplemented in TestORMRowTest.
Referenced by getMockFields(), and getRowInstance().
Definition at line 120 of file ORMRowTest.php.
References array(), as, and constructorTestProvider().
ORMRowTest::testConstructor | ( | array $ | data, |
$ | loadDefaults | ||
) |
constructorTestProvider
Definition at line 133 of file ORMRowTest.php.
References getRowInstance(), and verifyFields().
ORMRowTest::testSaveAndRemove | ( | array $ | data, |
$ | loadDefaults | ||
) |
constructorTestProvider
Definition at line 140 of file ORMRowTest.php.
References getRowInstance(), and verifyFields().
ORMRowTest::testSetField | ( | IORMRow $ | item | ) |
instanceProvider
Definition at line 174 of file ORMRowTest.php.
References $name, $value, as, IORMRow\getField(), getMockFields(), and IORMRow\setField().
ORMRowTest::testSetFields | ( | IORMRow $ | item | ) |
instanceProvider
Definition at line 197 of file ORMRowTest.php.
References $name, array(), as, assertFieldValues(), IORMRow\getField(), IORMRow\getFields(), getMockFields(), IORMRow\getTable(), IORMRow\hasField(), and IORMRow\setFields().
ORMRowTest::verifyFields | ( | IORMRow $ | row, |
array $ | data | ||
) | [protected] |
IORMRow | $row | |
array | $data |
Definition at line 65 of file ORMRowTest.php.
References as, and IORMRow\getField().
Referenced by testConstructor(), and testSaveAndRemove().