MediaWiki
REL1_23
|
Public Member Functions | |
provideNumberOfRows () | |
provideTestValid () | |
testConstructionWithFalseRow () | |
UserArrayFromResult::__construct | |
testConstructionWithRow () | |
UserArrayFromResult::__construct | |
testCountWithVaryingValues ($numRows) | |
provideNumberOfRows UserArrayFromResult::count | |
testCurrentAfterConstruction () | |
UserArrayFromResult::current | |
testValid ($input, $expected) | |
provideTestValid UserArrayFromResult::valid | |
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().
Definition at line 64 of file UserArrayFromResultTest.php.
References array().
Definition at line 92 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 84 of file UserArrayFromResultTest.php.
References getMockResultWrapper(), getRowWithUsername(), and getUserArrayFromResult().
UserArrayFromResultTest::testValid | ( | $ | input, |
$ | expected | ||
) |
provideTestValid UserArrayFromResult::valid
Definition at line 103 of file UserArrayFromResultTest.php.
References getMockResultWrapper(), and getUserArrayFromResult().