MediaWiki REL1_31
|
DatabaseSqliteTest is already defined in mediawiki core hence the 'Rdbms' included in this class name. More...
Public Member Functions | |
provideBuildSubstring () | |
provideBuildSubstring_invalidParams () | |
testBuildSubstring ( $input, $start, $length, $expected) | |
Wikimedia\Rdbms\DatabaseSqlite::buildSubstring provideBuildSubstring. | |
testBuildSubstring_invalidParams ( $start, $length) | |
Wikimedia\Rdbms\DatabaseSqlite::buildSubstring provideBuildSubstring_invalidParams. | |
Private Member Functions | |
getMockDb () | |
DatabaseSqliteTest is already defined in mediawiki core hence the 'Rdbms' included in this class name.
The test in core should have mediawiki specific stuff removed and the tests moved to this rdbms libs test.
Definition at line 11 of file DatabaseSqliteRdbmsTest.php.
|
private |
Definition at line 19 of file DatabaseSqliteRdbmsTest.php.
Referenced by testBuildSubstring(), and testBuildSubstring_invalidParams().
DatabaseSqliteRdbmsTest::provideBuildSubstring | ( | ) |
Definition at line 26 of file DatabaseSqliteRdbmsTest.php.
DatabaseSqliteRdbmsTest::provideBuildSubstring_invalidParams | ( | ) |
Definition at line 41 of file DatabaseSqliteRdbmsTest.php.
DatabaseSqliteRdbmsTest::testBuildSubstring | ( | $input, | |
$start, | |||
$length, | |||
$expected ) |
Wikimedia\Rdbms\DatabaseSqlite::buildSubstring provideBuildSubstring.
Definition at line 35 of file DatabaseSqliteRdbmsTest.php.
References $input, $output, and getMockDb().
DatabaseSqliteRdbmsTest::testBuildSubstring_invalidParams | ( | $start, | |
$length ) |
Wikimedia\Rdbms\DatabaseSqlite::buildSubstring provideBuildSubstring_invalidParams.
Definition at line 54 of file DatabaseSqliteRdbmsTest.php.
References getMockDb().