|
MediaWiki
REL1_24
|


Public Member Functions | |
| provideTestValid () | |
| testConstructionWithFalseRow () | |
| UserArrayFromResult::__construct | |
| testConstructionWithRow () | |
| UserArrayFromResult::__construct | |
| testCountWithVaryingValues ($numRows) | |
| provideNumberOfRows UserArrayFromResult::count | |
| testCurrentAfterConstruction () | |
| UserArrayFromResult::current | |
| testValid ($input, $expected) | |
| provideTestValid UserArrayFromResult::valid | |
Static Public Member Functions | |
| static | provideNumberOfRows () |
Private Member Functions | |
| getMockResultWrapper ($row=null, $numRows=1) | |
| getRowWithUsername ($username= 'fooUser') | |
| getUserArrayFromResult ($resultWrapper) | |
Definition at line 7 of file UserArrayFromResultTest.php.
| UserArrayFromResultTest::getMockResultWrapper | ( | $ | row = null, |
| $ | numRows = 1 |
||
| ) | [private] |
Definition at line 9 of file UserArrayFromResultTest.php.
References any.
Referenced by testConstructionWithFalseRow(), testConstructionWithRow(), testCountWithVaryingValues(), testCurrentAfterConstruction(), and testValid().
| UserArrayFromResultTest::getRowWithUsername | ( | $ | username = 'fooUser' | ) | [private] |
Definition at line 24 of file UserArrayFromResultTest.php.
Referenced by provideTestValid(), testConstructionWithRow(), testCountWithVaryingValues(), and testCurrentAfterConstruction().
| UserArrayFromResultTest::getUserArrayFromResult | ( | $ | resultWrapper | ) | [private] |
Definition at line 30 of file UserArrayFromResultTest.php.
References UserArrayFromResult.
Referenced by testConstructionWithFalseRow(), testConstructionWithRow(), testCountWithVaryingValues(), testCurrentAfterConstruction(), and testValid().
| static UserArrayFromResultTest::provideNumberOfRows | ( | ) | [static] |
Definition at line 64 of file UserArrayFromResultTest.php.
References array().
Definition at line 95 of file UserArrayFromResultTest.php.
References array(), and getRowWithUsername().
UserArrayFromResult::__construct
Definition at line 37 of file UserArrayFromResultTest.php.
References getMockResultWrapper(), and getUserArrayFromResult().
UserArrayFromResult::__construct
Definition at line 51 of file UserArrayFromResultTest.php.
References getMockResultWrapper(), getRowWithUsername(), and getUserArrayFromResult().
| UserArrayFromResultTest::testCountWithVaryingValues | ( | $ | numRows | ) |
provideNumberOfRows UserArrayFromResult::count
Definition at line 76 of file UserArrayFromResultTest.php.
References getMockResultWrapper(), getRowWithUsername(), and getUserArrayFromResult().
Definition at line 87 of file UserArrayFromResultTest.php.
References getMockResultWrapper(), getRowWithUsername(), and getUserArrayFromResult().
| UserArrayFromResultTest::testValid | ( | $ | input, |
| $ | expected | ||
| ) |
provideTestValid UserArrayFromResult::valid
Definition at line 106 of file UserArrayFromResultTest.php.
References getMockResultWrapper(), and getUserArrayFromResult().