MediaWiki
1.32.5
|
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 11 of file TitleArrayFromResultTest.php.
Referenced by testConstructionWithFalseRow(), testConstructionWithRow(), testCountWithVaryingValues(), testCurrentAfterConstruction(), and testValid().
|
private |
Definition at line 26 of file TitleArrayFromResultTest.php.
References $title.
Referenced by provideTestValid(), testConstructionWithRow(), testCountWithVaryingValues(), and testCurrentAfterConstruction().
|
private |
Definition at line 33 of file TitleArrayFromResultTest.php.
Referenced by testConstructionWithFalseRow(), testConstructionWithRow(), testCountWithVaryingValues(), testCurrentAfterConstruction(), and testValid().
|
static |
Definition at line 69 of file TitleArrayFromResultTest.php.
TitleArrayFromResultTest::provideTestValid | ( | ) |
Definition at line 102 of file TitleArrayFromResultTest.php.
References false, getRowWithTitle(), and true.
TitleArrayFromResultTest::testConstructionWithFalseRow | ( | ) |
TitleArrayFromResult::__construct.
Definition at line 40 of file TitleArrayFromResultTest.php.
References getMockResultWrapper(), and getTitleArrayFromResult().
TitleArrayFromResultTest::testConstructionWithRow | ( | ) |
TitleArrayFromResult::__construct.
Definition at line 54 of file TitleArrayFromResultTest.php.
References $title, class, getMockResultWrapper(), getRowWithTitle(), and getTitleArrayFromResult().
TitleArrayFromResultTest::testCountWithVaryingValues | ( | $numRows | ) |
provideNumberOfRows TitleArrayFromResult::count
Definition at line 81 of file TitleArrayFromResultTest.php.
References getMockResultWrapper(), getRowWithTitle(), and getTitleArrayFromResult().
TitleArrayFromResultTest::testCurrentAfterConstruction | ( | ) |
TitleArrayFromResult::current.
Definition at line 92 of file TitleArrayFromResultTest.php.
References $title, class, getMockResultWrapper(), getRowWithTitle(), and getTitleArrayFromResult().
TitleArrayFromResultTest::testValid | ( | $input, | |
$expected | |||
) |
provideTestValid TitleArrayFromResult::valid
Definition at line 113 of file TitleArrayFromResultTest.php.
References $input, getMockResultWrapper(), and getTitleArrayFromResult().