MediaWiki
REL1_19
|
Public Member Functions | |
setUp () | |
testDeleteJoin () | |
testDuplicateTableStructure () | |
testDuplicateTableStructureVirtual () | |
testEntireSchema () | |
testReplaceVars () | |
testTableName () | |
testUpgrades () | |
Runs upgrades of older databases and compares results with current schema. | |
Public Attributes | |
$db | |
Private Member Functions | |
assertResultIs ($expected, $res) | |
getColumns ($db, $table) | |
getIndexes ($db, $table) | |
getTables ($db) | |
prepareDB ($version) | |
replaceVars ($sql) |
sqlite Database
Definition at line 24 of file DatabaseSqliteTest.php.
DatabaseSqliteTest::assertResultIs | ( | $ | expected, |
$ | res | ||
) | [private] |
Definition at line 42 of file DatabaseSqliteTest.php.
References $res.
Referenced by testDeleteJoin().
DatabaseSqliteTest::getColumns | ( | $ | db, |
$ | table | ||
) | [private] |
Definition at line 289 of file DatabaseSqliteTest.php.
Referenced by testUpgrades().
DatabaseSqliteTest::getIndexes | ( | $ | db, |
$ | table | ||
) | [private] |
Definition at line 300 of file DatabaseSqliteTest.php.
Referenced by testUpgrades().
DatabaseSqliteTest::getTables | ( | $ | db | ) | [private] |
Definition at line 268 of file DatabaseSqliteTest.php.
Referenced by testUpgrades().
DatabaseSqliteTest::prepareDB | ( | $ | version | ) | [private] |
Definition at line 253 of file DatabaseSqliteTest.php.
References $db, $IP, and DatabaseUpdater\newForDB().
Referenced by testUpgrades().
DatabaseSqliteTest::replaceVars | ( | $ | sql | ) | [private] |
Definition at line 37 of file DatabaseSqliteTest.php.
Referenced by testReplaceVars().
Definition at line 27 of file DatabaseSqliteTest.php.
References Sqlite\isPresent().
Definition at line 144 of file DatabaseSqliteTest.php.
References $db, $res, and assertResultIs().
Definition at line 103 of file DatabaseSqliteTest.php.
References $db.
Definition at line 124 of file DatabaseSqliteTest.php.
References $db.
Definition at line 171 of file DatabaseSqliteTest.php.
References $IP, $result, and Sqlite\checkSqlSyntax().
Definition at line 55 of file DatabaseSqliteTest.php.
References replaceVars().
Definition at line 93 of file DatabaseSqliteTest.php.
References $db.
Runs upgrades of older databases and compares results with current schema.
Definition at line 185 of file DatabaseSqliteTest.php.
References $db, $fullName, $IP, $version, $wgVersion, getColumns(), getIndexes(), getTables(), and prepareDB().
DatabaseSqliteTest::$db |
Reimplemented from MediaWikiTestCase.
Definition at line 25 of file DatabaseSqliteTest.php.
Referenced by getColumns(), getIndexes(), getTables(), prepareDB(), testDeleteJoin(), testDuplicateTableStructure(), testDuplicateTableStructureVirtual(), testTableName(), and testUpgrades().