ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilDatabasePDOPostgresTest Class Reference

TestCase for the ilDatabasePDOMyISAMTest. More...

+ Inheritance diagram for ilDatabasePDOPostgresTest:
+ Collaboration diagram for ilDatabasePDOPostgresTest:

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)
 

Protected Attributes

 $ini_file = '/var/www/ilias/data/psql/client.ini.php'
 
- 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
 

Additional Inherited Members

- Public Member Functions inherited from ilDatabaseImplementationBaseTest
 testInstance ()
 Test instance implements ilDBInterface and is ilDBInnoDB. More...
 
 testConnection ()
 
 testCreateDatabase ()
 testConnection More...
 
 testInsertNative ()
 testConnection More...
 
 testQueryUtils ()
 
 testUpdateNative ()
 testConnection More...
 
 testInsertSQL ()
 testConnection More...
 
 testSelectUsrData ()
 
 testIndices ()
 testConnection More...
 
 testTableColums ()
 testConnection More...
 
 testSequences ()
 testConnection More...
 
 testDBAnalyser ()
 testConnection More...
 
 testDropSequence ()
 testConnection More...
 
 testConstraints ()
 
 testChangeTableName ()
 testConnection More...
 
 testRenameTableColumn ()
 testConnection More...
 
 testModifyTableColumn ()
 testConnection More...
 
 testLockTables ()
 testConnection More...
 
 testTransactions ()
 testConnection More...
 
 testDropTable ()
 testConnection More...
 
- Data Fields inherited from ilDatabaseImplementationBaseTest
const INDEX_NAME = 'i1'
 
const TABLE_NAME = 'il_ut_en'
 
const CREATE_TABLE_ARRAY_KEY = 'create table'
 

Detailed Description

TestCase for the ilDatabasePDOMyISAMTest.

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 ilDatabasePDOPostgresTest.php.

Member Function Documentation

◆ getDBInstance()

ilDatabasePDOPostgresTest::getDBInstance ( )
protected
Returns
Exceptions

Definition at line 47 of file ilDatabasePDOPostgresTest.php.

48  {
49  require_once('./Services/Database/classes/PDO/class.ilDBPdoPostgreSQL.php');
50 
51  return new ilDBPdoPostgreSQL();
52  }
Class ilDBPdoPostgreSQL.

◆ getTableName()

ilDatabasePDOPostgresTest::getTableName ( )
protected
Returns
string

Definition at line 58 of file ilDatabasePDOPostgresTest.php.

59  {
60  return strtolower(self::TABLE_NAME . '_pdo_p');
61  }

Field Documentation

◆ $ini_file

ilDatabasePDOPostgresTest::$ini_file = '/var/www/ilias/data/psql/client.ini.php'
protected

Definition at line 40 of file ilDatabasePDOPostgresTest.php.


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