MediaWiki
REL1_22
|
sqlite Database medium More...
Public Member Functions | |
testAddQuotes ($value, $expected) | |
provideAddQuotes() DatabaseSqlite::addQuotes | |
testCaseInsensitiveLike () | |
testDeleteJoin () | |
DatabaseSqlite::deleteJoin | |
testDuplicateTableStructure () | |
DatabaseSqlite::duplicateTableStructure | |
testDuplicateTableStructureVirtual () | |
DatabaseSqlite::duplicateTableStructure | |
testEntireSchema () | |
testInsertIdType () | |
DatabaseSqlite::insertId | |
testReplaceVars () | |
DatabaseSqlite::replaceVars | |
testTableName () | |
DatabaseSqlite::tableName | |
testUpgrades () | |
Runs upgrades of older databases and compares results with current schema. | |
Static Public Member Functions | |
static | provideAddQuotes () |
Public Attributes | |
MockDatabaseSqlite | $db |
Protected Member Functions | |
setUp () | |
setUp and tearDown should (where significant) happen in reverse order. | |
Private Member Functions | |
assertResultIs ($expected, $res) | |
getColumns ($db, $table) | |
getIndexes ($db, $table) | |
getTables ($db) | |
prepareDB ($version) | |
replaceVars ($sql) |
sqlite Database medium
Definition at line 29 of file DatabaseSqliteTest.php.
DatabaseSqliteTest::assertResultIs | ( | $ | expected, |
$ | res | ||
) | [private] |
DatabaseSqliteTest::getColumns | ( | $ | db, |
$ | table | ||
) | [private] |
Definition at line 383 of file DatabaseSqliteTest.php.
References $db, $res, array(), as, and MockDatabaseSqlite\query().
DatabaseSqliteTest::getIndexes | ( | $ | db, |
$ | table | ||
) | [private] |
Definition at line 395 of file DatabaseSqliteTest.php.
References $db, $res, array(), as, and MockDatabaseSqlite\query().
DatabaseSqliteTest::getTables | ( | $ | db | ) | [private] |
Definition at line 360 of file DatabaseSqliteTest.php.
References $db, $t, array(), as, and DatabaseSqlite\listTables().
DatabaseSqliteTest::prepareDB | ( | $ | version | ) | [private] |
Definition at line 344 of file DatabaseSqliteTest.php.
References $db, $IP, array(), global, DatabaseUpdater\newForDB(), and DatabaseBase\sourceFile().
static DatabaseSqliteTest::provideAddQuotes | ( | ) | [static] |
Definition at line 65 of file DatabaseSqliteTest.php.
References array().
DatabaseSqliteTest::replaceVars | ( | $ | sql | ) | [private] |
Definition at line 47 of file DatabaseSqliteTest.php.
DatabaseSqliteTest::setUp | ( | ) | [protected] |
setUp and tearDown should (where significant) happen in reverse order.
Reimplemented from MediaWikiTestCase.
Definition at line 35 of file DatabaseSqliteTest.php.
References Sqlite\isPresent().
DatabaseSqliteTest::testAddQuotes | ( | $ | value, |
$ | expected | ||
) |
provideAddQuotes() DatabaseSqlite::addQuotes
Definition at line 91 of file DatabaseSqliteTest.php.
Definition at line 413 of file DatabaseSqliteTest.php.
References $db, $res, and MockDatabaseSqlite\query().
Definition at line 216 of file DatabaseSqliteTest.php.
DatabaseSqlite::duplicateTableStructure
Definition at line 169 of file DatabaseSqliteTest.php.
DatabaseSqlite::duplicateTableStructure
Definition at line 193 of file DatabaseSqliteTest.php.
Definition at line 243 of file DatabaseSqliteTest.php.
References $IP, $result, Sqlite\checkSqlSyntax(), fail, and global.
Definition at line 331 of file DatabaseSqliteTest.php.
Definition at line 115 of file DatabaseSqliteTest.php.
Definition at line 156 of file DatabaseSqliteTest.php.
Runs upgrades of older databases and compares results with current schema.
Definition at line 257 of file DatabaseSqliteTest.php.
MockDatabaseSqlite DatabaseSqliteTest::$db |
Reimplemented from MediaWikiTestCase.
Definition at line 33 of file DatabaseSqliteTest.php.
Referenced by getColumns(), getIndexes(), getTables(), prepareDB(), and testCaseInsensitiveLike().