ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilDatabaseMDB2MyISAMTest Class Reference

TestCase for the ilDatabaseMDB2MyISAMTest. More...

+ Inheritance diagram for ilDatabaseMDB2MyISAMTest:
+ Collaboration diagram for ilDatabaseMDB2MyISAMTest:

Protected Member Functions

 getDBInstance ()
 
 getTableName ()
 
- Protected Member Functions inherited from ilDatabaseImplementationBaseTest
 setUp ()
 
 getIniFile ()
 
 connect (ilDBInterface $ilDBInterface, $missing_ini=false)
 
 getTableName ()
 
 tearDown ()
 
 getDBInstance ()
 
 changeGlobal (ilDBInterface $ilDBInterface)
 
 changeBack ()
 
 normalizeSQL ($sql)
 
 normalizetableName ($sql)
 

Additional Inherited Members

- Public Member Functions inherited from ilDatabaseImplementationBaseTest
 testInstance ()
 Test instance implements ilDBInterface and is ilDBInnoDB. More...
 
 testConnection ()
 
 testCreateDatabase ()
 @depends testConnection More...
 
 testInsertNative ()
 @depends testConnection More...
 
 testQueryUtils ()
 
 testUpdateNative ()
 @depends testConnection More...
 
 testInsertSQL ()
 @depends testConnection More...
 
 testSelectUsrData ()
 
 testIndices ()
 @depends testConnection More...
 
 testTableColums ()
 @depends testConnection More...
 
 testSequences ()
 @depends testConnection More...
 
 testDBAnalyser ()
 @depends testConnection More...
 
 testDropSequence ()
 @depends testConnection More...
 
 testConstraints ()
 
 testChangeTableName ()
 @depends testConnection More...
 
 testRenameTableColumn ()
 @depends testConnection More...
 
 testModifyTableColumn ()
 @depends testConnection More...
 
 testLockTables ()
 @depends testConnection More...
 
 testTransactions ()
 @depends testConnection More...
 
 testDropTable ()
 @depends testConnection More...
 
- Data Fields inherited from ilDatabaseImplementationBaseTest
const INDEX_NAME = 'i1'
 
const TABLE_NAME = 'il_ut_en'
 
const CREATE_TABLE_ARRAY_KEY = 'create table'
 
- Protected Attributes inherited from ilDatabaseImplementationBaseTest
 $error_reporting_backup = 0
 
 $backupGlobals = false
 
 $db
 
 $mock
 
 $outputs
 
 $ildb_backup
 
 $type = ''
 
 $ini_file = '/var/www/ilias/data/trunk/client.ini.php'
 
 $set_up = false
 

Detailed Description

TestCase for the ilDatabaseMDB2MyISAMTest.

@group needsInstalledILIAS

Author
Fabian Schmid fs@st.nosp@m.uder.nosp@m.-raim.nosp@m.ann..nosp@m.ch
Version
1.0.0

Definition at line 34 of file ilDatabaseMDB2MyISAMTest.php.

Member Function Documentation

◆ getDBInstance()

ilDatabaseMDB2MyISAMTest::getDBInstance ( )
protected
Returns
\ilDBMySQL
Exceptions

ilDatabaseException

Reimplemented from ilDatabaseImplementationBaseTest.

Definition at line 40 of file ilDatabaseMDB2MyISAMTest.php.

40 {
41 require_once('./Services/Database/classes/MDB2/class.ilDBMySQL.php');
42
43 return new ilDBMySQL();
44 }
MySQL Database Wrapper.

◆ getTableName()

ilDatabaseMDB2MyISAMTest::getTableName ( )
protected
Returns
string

Reimplemented from ilDatabaseImplementationBaseTest.

Definition at line 50 of file ilDatabaseMDB2MyISAMTest.php.

50 {
51 return strtolower(self::TABLE_NAME . '_mdb_m');
52 }

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