MediaWiki
REL1_22
|
Database DatabaseBase More...
Public Member Functions | |
testAddQuotesFloat () | |
testAddQuotesInt () | |
testAddQuotesNull () | |
DatabaseBase::dropTable | |
testAddQuotesString () | |
testAddQuotesStringQuote () | |
testFillPreparedBang () | |
testFillPreparedEmpty () | |
testFillPreparedQuestion () | |
testFillPreparedRaw () | |
testStoredFunctions () | |
testTableNameForeign () | |
testTableNameLocal () | |
testTableNameRawForeign () | |
testTableNameRawLocal () | |
testTableNameRawShared () | |
testTableNameShared () | |
testUnknownTableCorruptsResults () | |
Public Attributes | |
DatabaseBase | $db |
$functionTest = false | |
Protected Member Functions | |
setUp () | |
setUp and tearDown should (where significant) happen in reverse order. | |
tearDown () | |
Private Member Functions | |
dropFunctions () | |
getSharedTableName ($table, $database, $prefix, $format= 'quoted') | |
prefixAndQuote ($table, $database=null, $prefix=null, $format= 'quoted') |
Database DatabaseBase
Definition at line 7 of file DatabaseTest.php.
DatabaseTest::dropFunctions | ( | ) | [private] |
Definition at line 222 of file DatabaseTest.php.
Referenced by tearDown(), and testStoredFunctions().
DatabaseTest::getSharedTableName | ( | $ | table, |
$ | database, | ||
$ | prefix, | ||
$ | format = 'quoted' |
||
) | [private] |
Definition at line 67 of file DatabaseTest.php.
References $ret, array(), and global.
Referenced by testTableNameRawShared(), and testTableNameShared().
DatabaseTest::prefixAndQuote | ( | $ | table, |
$ | database = null , |
||
$ | prefix = null , |
||
$ | format = 'quoted' |
||
) | [private] |
Definition at line 87 of file DatabaseTest.php.
References MediaWikiTestCase\dbPrefix().
Referenced by testTableNameForeign(), testTableNameLocal(), testTableNameRawForeign(), testTableNameRawLocal(), testTableNameRawShared(), and testTableNameShared().
DatabaseTest::setUp | ( | ) | [protected] |
setUp and tearDown should (where significant) happen in reverse order.
Reimplemented from MediaWikiTestCase.
Definition at line 13 of file DatabaseTest.php.
References wfGetDB().
DatabaseTest::tearDown | ( | ) | [protected] |
Reimplemented from MediaWikiTestCase.
Definition at line 18 of file DatabaseTest.php.
References dropFunctions().
Definition at line 44 of file DatabaseTest.php.
Definition at line 36 of file DatabaseTest.php.
Definition at line 28 of file DatabaseTest.php.
Definition at line 51 of file DatabaseTest.php.
Definition at line 57 of file DatabaseTest.php.
Definition at line 189 of file DatabaseTest.php.
References array().
Definition at line 169 of file DatabaseTest.php.
References array().
Definition at line 177 of file DatabaseTest.php.
References array().
Definition at line 201 of file DatabaseTest.php.
References array().
Definition at line 210 of file DatabaseTest.php.
References $IP, $res, array(), dropFunctions(), global, and wfGetDB().
Definition at line 155 of file DatabaseTest.php.
References prefixAndQuote().
Definition at line 117 of file DatabaseTest.php.
References prefixAndQuote().
Definition at line 162 of file DatabaseTest.php.
References prefixAndQuote().
Definition at line 124 of file DatabaseTest.php.
References prefixAndQuote().
Definition at line 143 of file DatabaseTest.php.
References getSharedTableName(), and prefixAndQuote().
Definition at line 131 of file DatabaseTest.php.
References getSharedTableName(), and prefixAndQuote().
Definition at line 228 of file DatabaseTest.php.
DatabaseBase DatabaseTest::$db |
Reimplemented from MediaWikiTestCase.
Definition at line 10 of file DatabaseTest.php.
DatabaseTest::$functionTest = false |
Definition at line 11 of file DatabaseTest.php.