ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
TestCase for the ilDatabaseAtomBaseTest. More...
Public Member Functions | |
testGetInstance () | |
testReadUncommited () | |
testReadCommited () | |
testReadRepeatedRead () | |
testAnomalies () | |
testLevel () | |
testRisks () | |
testCallables () | |
testWrongIsolationLevel () | |
testQueryWithFiveException () | |
testQueryWithTenException () | |
testWithOutLocks () | |
testWithOutClosures () | |
testMultipleClosures () | |
testLockSameTable () | |
testLockSameTableWithAlias () | |
Protected Member Functions | |
setUp () | |
Protected Attributes | |
$backupGlobals = false | |
$ilDBInterfaceGalera | |
$ilDBInterfaceInnoDB | |
TestCase for the ilDatabaseAtomBaseTest.
needsInstalledILIAS
disabled disabled disabled
Definition at line 37 of file ilDatabaseAtomBaseTest.php.
|
protected |
Definition at line 53 of file ilDatabaseAtomBaseTest.php.
References ilDBConstants\TYPE_GALERA, and ilDBConstants\TYPE_PDO_MYSQL_INNODB.
ilDatabaseAtomBaseTest::testAnomalies | ( | ) |
Definition at line 104 of file ilDatabaseAtomBaseTest.php.
References ilAtomQueryBase\checkAnomaly(), and ilAtomQueryException\DB_ATOM_ANO_NOT_AVAILABLE.
ilDatabaseAtomBaseTest::testCallables | ( | ) |
Definition at line 123 of file ilDatabaseAtomBaseTest.php.
ilDatabaseAtomBaseTest::testGetInstance | ( | ) |
Definition at line 72 of file ilDatabaseAtomBaseTest.php.
References ilAtomQuery\ISOLATION_SERIALIZABLE.
ilDatabaseAtomBaseTest::testLevel | ( | ) |
Definition at line 110 of file ilDatabaseAtomBaseTest.php.
References ilAtomQueryBase\checkIsolationLevel(), and ilAtomQueryException\DB_ATOM_ISO_WRONG_LEVEL.
ilDatabaseAtomBaseTest::testLockSameTable | ( | ) |
Definition at line 223 of file ilDatabaseAtomBaseTest.php.
References ilAtomQueryException\DB_ATOM_IDENTICAL_TABLES.
ilDatabaseAtomBaseTest::testLockSameTableWithAlias | ( | ) |
Definition at line 233 of file ilDatabaseAtomBaseTest.php.
References ilAtomQueryException\DB_ATOM_IDENTICAL_TABLES.
ilDatabaseAtomBaseTest::testMultipleClosures | ( | ) |
Definition at line 214 of file ilDatabaseAtomBaseTest.php.
References ilAtomQueryException\DB_ATOM_CLOSURE_ALREADY_SET.
ilDatabaseAtomBaseTest::testQueryWithFiveException | ( | ) |
Definition at line 156 of file ilDatabaseAtomBaseTest.php.
References $counter, $query, $result, and ilDatabaseException\DB_GENERAL.
ilDatabaseAtomBaseTest::testQueryWithTenException | ( | ) |
Definition at line 176 of file ilDatabaseAtomBaseTest.php.
References $counter, $query, $result, and ilDatabaseException\DB_GENERAL.
ilDatabaseAtomBaseTest::testReadCommited | ( | ) |
Definition at line 90 of file ilDatabaseAtomBaseTest.php.
References ilAtomQueryException\DB_ATOM_ISO_WRONG_LEVEL, and ilAtomQuery\ISOLATION_READ_COMMITED.
ilDatabaseAtomBaseTest::testReadRepeatedRead | ( | ) |
Definition at line 97 of file ilDatabaseAtomBaseTest.php.
References ilAtomQueryException\DB_ATOM_ISO_WRONG_LEVEL, and ilAtomQuery\ISOLATION_REPEATED_READ.
ilDatabaseAtomBaseTest::testReadUncommited | ( | ) |
Definition at line 83 of file ilDatabaseAtomBaseTest.php.
References ilAtomQueryException\DB_ATOM_ISO_WRONG_LEVEL, and ilAtomQuery\ISOLATION_READ_UNCOMMITED.
ilDatabaseAtomBaseTest::testRisks | ( | ) |
ilDatabaseAtomBaseTest::testWithOutClosures | ( | ) |
Definition at line 206 of file ilDatabaseAtomBaseTest.php.
References ilAtomQueryException\DB_ATOM_CLOSURE_NONE.
ilDatabaseAtomBaseTest::testWithOutLocks | ( | ) |
Definition at line 199 of file ilDatabaseAtomBaseTest.php.
References ilAtomQueryException\DB_ATOM_LOCK_NO_TABLE.
ilDatabaseAtomBaseTest::testWrongIsolationLevel | ( | ) |
Definition at line 145 of file ilDatabaseAtomBaseTest.php.
References $ilDB, and ilDBInterface\getDBType().
|
protected |
Definition at line 42 of file ilDatabaseAtomBaseTest.php.
|
protected |
Definition at line 46 of file ilDatabaseAtomBaseTest.php.
|
protected |
Definition at line 50 of file ilDatabaseAtomBaseTest.php.