MediaWiki
REL1_19
|
Public Member Functions | |
setUp () | |
tearDown () | |
testAddQuotesFloat () | |
testAddQuotesInt () | |
testAddQuotesNull () | |
testAddQuotesString () | |
testAddQuotesStringQuote () | |
testFillPreparedBang () | |
testFillPreparedEmpty () | |
testFillPreparedQuestion () | |
testFillPreparedRaw () | |
testStoredFunctions () | |
Broken | |
testTableNameForeign () | |
testTableNameLocal () | |
testTableNameRawForeign () | |
testTableNameRawLocal () | |
testTableNameRawShared () | |
testTableNameShared () | |
Public Attributes | |
$db | |
$functionTest = false | |
Private Member Functions | |
dropFunctions () | |
getSharedTableName ($table, $database, $prefix, $format= 'quoted') | |
prefixAndQuote ($table, $database=null, $prefix=null, $format= 'quoted') |
Definition at line 7 of file DatabaseTest.php.
DatabaseTest::dropFunctions | ( | ) | [private] |
Definition at line 208 of file DatabaseTest.php.
Referenced by tearDown(), and testStoredFunctions().
DatabaseTest::getSharedTableName | ( | $ | table, |
$ | database, | ||
$ | prefix, | ||
$ | format = 'quoted' |
||
) | [private] |
Definition at line 60 of file DatabaseTest.php.
References $wgSharedDB, $wgSharedPrefix, and $wgSharedTables.
Referenced by testTableNameRawShared(), and testTableNameShared().
DatabaseTest::prefixAndQuote | ( | $ | table, |
$ | database = null , |
||
$ | prefix = null , |
||
$ | format = 'quoted' |
||
) | [private] |
Definition at line 80 of file DatabaseTest.php.
References MediaWikiTestCase\dbPrefix().
Referenced by testTableNameForeign(), testTableNameLocal(), testTableNameRawForeign(), testTableNameRawLocal(), testTableNameRawShared(), and testTableNameShared().
Definition at line 10 of file DatabaseTest.php.
References wfGetDB().
Definition at line 14 of file DatabaseTest.php.
References dropFunctions().
Definition at line 37 of file DatabaseTest.php.
Definition at line 29 of file DatabaseTest.php.
Definition at line 21 of file DatabaseTest.php.
Definition at line 44 of file DatabaseTest.php.
Definition at line 50 of file DatabaseTest.php.
Definition at line 172 of file DatabaseTest.php.
Definition at line 152 of file DatabaseTest.php.
Definition at line 160 of file DatabaseTest.php.
Definition at line 184 of file DatabaseTest.php.
Broken
Definition at line 196 of file DatabaseTest.php.
References $IP, $res, dropFunctions(), and wfGetDB().
Definition at line 138 of file DatabaseTest.php.
References prefixAndQuote().
Definition at line 100 of file DatabaseTest.php.
References prefixAndQuote().
Definition at line 145 of file DatabaseTest.php.
References prefixAndQuote().
Definition at line 107 of file DatabaseTest.php.
References prefixAndQuote().
Definition at line 126 of file DatabaseTest.php.
References getSharedTableName(), and prefixAndQuote().
Definition at line 114 of file DatabaseTest.php.
References getSharedTableName(), and prefixAndQuote().
DatabaseTest::$db |
Reimplemented from MediaWikiTestCase.
Definition at line 8 of file DatabaseTest.php.
DatabaseTest::$functionTest = false |
Definition at line 8 of file DatabaseTest.php.