MediaWiki
REL1_20
|
Public Member Functions | |
constructorTestProvider () | |
instanceProvider () | |
testConstructor (array $data, $loadDefaults) | |
constructorTestProvider | |
testRemove (array $data, $loadDefaults) | |
constructorTestProvider | |
testSave (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 194 of file ORMRowTest.php.
References IORMRow\getField().
Referenced by testSetFields().
ORMRowTest::constructorTestProvider | ( | ) | [abstract] |
ORMRowTest::getMockFields | ( | ) | [protected] |
Definition at line 102 of file ORMRowTest.php.
References getMockValues(), and getTableInstance().
Referenced by testSetField(), and testSetFields().
ORMRowTest::getMockValues | ( | ) | [protected] |
Definition at line 86 of file ORMRowTest.php.
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(), testRemove(), and testSave().
ORMRowTest::getTableInstance | ( | ) | [abstract, protected] |
Reimplemented in TestORMRowTest.
Referenced by getMockFields(), and getRowInstance().
Definition at line 119 of file ORMRowTest.php.
References constructorTestProvider().
ORMRowTest::testConstructor | ( | array $ | data, |
$ | loadDefaults | ||
) |
constructorTestProvider
Definition at line 132 of file ORMRowTest.php.
References getRowInstance(), and verifyFields().
ORMRowTest::testRemove | ( | array $ | data, |
$ | loadDefaults | ||
) |
constructorTestProvider
Definition at line 159 of file ORMRowTest.php.
References getRowInstance(), and verifyFields().
ORMRowTest::testSave | ( | array $ | data, |
$ | loadDefaults | ||
) |
constructorTestProvider
Definition at line 139 of file ORMRowTest.php.
References getRowInstance(), and verifyFields().
ORMRowTest::testSetField | ( | IORMRow $ | item | ) |
instanceProvider
Definition at line 182 of file ORMRowTest.php.
References $value, IORMRow\getField(), getMockFields(), and IORMRow\setField().
ORMRowTest::testSetFields | ( | IORMRow $ | item | ) |
instanceProvider
Definition at line 205 of file ORMRowTest.php.
References 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 IORMRow\getField().
Referenced by testConstructor(), testRemove(), and testSave().