MediaWiki
REL1_24
|
Public Member Functions | |
provideTestValid () | |
testConstructionWithFalseRow () | |
TitleArrayFromResult::__construct | |
testConstructionWithRow () | |
TitleArrayFromResult::__construct | |
testCountWithVaryingValues ($numRows) | |
provideNumberOfRows TitleArrayFromResult::count | |
testCurrentAfterConstruction () | |
TitleArrayFromResult::current | |
testValid ($input, $expected) | |
provideTestValid TitleArrayFromResult::valid | |
Static Public Member Functions | |
static | provideNumberOfRows () |
Private Member Functions | |
getMockResultWrapper ($row=null, $numRows=1) | |
getRowWithTitle ($namespace=3, $title= 'foo') | |
getTitleArrayFromResult ($resultWrapper) |
Definition at line 7 of file TitleArrayFromResultTest.php.
TitleArrayFromResultTest::getMockResultWrapper | ( | $ | row = null , |
$ | numRows = 1 |
||
) | [private] |
Definition at line 9 of file TitleArrayFromResultTest.php.
References any.
Referenced by testConstructionWithFalseRow(), testConstructionWithRow(), testCountWithVaryingValues(), testCurrentAfterConstruction(), and testValid().
TitleArrayFromResultTest::getRowWithTitle | ( | $ | namespace = 3 , |
$ | title = 'foo' |
||
) | [private] |
Definition at line 24 of file TitleArrayFromResultTest.php.
References $title.
Referenced by provideTestValid(), testConstructionWithRow(), testCountWithVaryingValues(), and testCurrentAfterConstruction().
TitleArrayFromResultTest::getTitleArrayFromResult | ( | $ | resultWrapper | ) | [private] |
Definition at line 31 of file TitleArrayFromResultTest.php.
Referenced by testConstructionWithFalseRow(), testConstructionWithRow(), testCountWithVaryingValues(), testCurrentAfterConstruction(), and testValid().
static TitleArrayFromResultTest::provideNumberOfRows | ( | ) | [static] |
Definition at line 67 of file TitleArrayFromResultTest.php.
References array().
Definition at line 100 of file TitleArrayFromResultTest.php.
References array(), and getRowWithTitle().
TitleArrayFromResult::__construct
Definition at line 38 of file TitleArrayFromResultTest.php.
References getMockResultWrapper(), and getTitleArrayFromResult().
TitleArrayFromResult::__construct
Definition at line 52 of file TitleArrayFromResultTest.php.
References $title, getMockResultWrapper(), getRowWithTitle(), and getTitleArrayFromResult().
TitleArrayFromResultTest::testCountWithVaryingValues | ( | $ | numRows | ) |
provideNumberOfRows TitleArrayFromResult::count
Definition at line 79 of file TitleArrayFromResultTest.php.
References getMockResultWrapper(), getRowWithTitle(), and getTitleArrayFromResult().
Definition at line 90 of file TitleArrayFromResultTest.php.
References $title, getMockResultWrapper(), getRowWithTitle(), and getTitleArrayFromResult().
TitleArrayFromResultTest::testValid | ( | $ | input, |
$ | expected | ||
) |
provideTestValid TitleArrayFromResult::valid
Definition at line 111 of file TitleArrayFromResultTest.php.
References getMockResultWrapper(), and getTitleArrayFromResult().