MediaWiki  REL1_19
DatabaseTest Class Reference

Database DatabaseBase More...

Inheritance diagram for DatabaseTest:
Collaboration diagram for DatabaseTest:

List of all members.

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')

Detailed Description

Database DatabaseBase

Definition at line 7 of file DatabaseTest.php.


Member Function Documentation

Definition at line 208 of file DatabaseTest.php.

Referenced by tearDown(), and testStoredFunctions().

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 10 of file DatabaseTest.php.

References wfGetDB().

Here is the call graph for this function:

Definition at line 14 of file DatabaseTest.php.

References dropFunctions().

Here is the call graph for this function:

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 172 of file DatabaseTest.php.

Definition at line 152 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().

Here is the call graph for this function:

Definition at line 138 of file DatabaseTest.php.

References prefixAndQuote().

Here is the call graph for this function:

Definition at line 100 of file DatabaseTest.php.

References prefixAndQuote().

Here is the call graph for this function:

Definition at line 145 of file DatabaseTest.php.

References prefixAndQuote().

Here is the call graph for this function:

Definition at line 107 of file DatabaseTest.php.

References prefixAndQuote().

Here is the call graph for this function:

Definition at line 126 of file DatabaseTest.php.

References getSharedTableName(), and prefixAndQuote().

Here is the call graph for this function:

Definition at line 114 of file DatabaseTest.php.

References getSharedTableName(), and prefixAndQuote().

Here is the call graph for this function:


Member Data Documentation

DatabaseTest::$db

Reimplemented from MediaWikiTestCase.

Definition at line 8 of file DatabaseTest.php.

DatabaseTest::$functionTest = false

Definition at line 8 of file DatabaseTest.php.


The documentation for this class was generated from the following file: