MediaWiki
1.28.0
|
Public Member Functions | |
provideTestValid () | |
testConstructionWithFalseRow () | |
TitleArrayFromResult::__construct. More... | |
testConstructionWithRow () | |
TitleArrayFromResult::__construct. More... | |
testCountWithVaryingValues ($numRows) | |
provideNumberOfRows TitleArrayFromResult::count More... | |
testCurrentAfterConstruction () | |
TitleArrayFromResult::current. More... | |
testValid ($input, $expected) | |
provideTestValid TitleArrayFromResult::valid More... | |
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.
|
private |
Definition at line 9 of file TitleArrayFromResultTest.php.
Referenced by testConstructionWithFalseRow(), testConstructionWithRow(), testCountWithVaryingValues(), testCurrentAfterConstruction(), and testValid().
|
private |
Definition at line 24 of file TitleArrayFromResultTest.php.
References $title.
Referenced by provideTestValid(), testConstructionWithRow(), testCountWithVaryingValues(), and testCurrentAfterConstruction().
|
private |
Definition at line 31 of file TitleArrayFromResultTest.php.
Referenced by testConstructionWithFalseRow(), testConstructionWithRow(), testCountWithVaryingValues(), testCurrentAfterConstruction(), and testValid().
|
static |
Definition at line 67 of file TitleArrayFromResultTest.php.
TitleArrayFromResultTest::provideTestValid | ( | ) |
Definition at line 100 of file TitleArrayFromResultTest.php.
References false, getRowWithTitle(), and true.
TitleArrayFromResultTest::testConstructionWithFalseRow | ( | ) |
TitleArrayFromResult::__construct.
Definition at line 38 of file TitleArrayFromResultTest.php.
References getMockResultWrapper(), and getTitleArrayFromResult().
TitleArrayFromResultTest::testConstructionWithRow | ( | ) |
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().
TitleArrayFromResultTest::testCurrentAfterConstruction | ( | ) |
TitleArrayFromResult::current.
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().