ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
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 39 of file ilDatabaseAtomBaseTest.php.
|
protected |
Definition at line 56 of file ilDatabaseAtomBaseTest.php.
References ilDBWrapperFactory\getWrapper(), ilDBConstants\TYPE_GALERA, and ilDBConstants\TYPE_PDO_MYSQL_INNODB.
ilDatabaseAtomBaseTest::testAnomalies | ( | ) |
Definition at line 107 of file ilDatabaseAtomBaseTest.php.
References ilAtomQueryBase\checkAnomaly(), and ilAtomQueryException\DB_ATOM_ANO_NOT_AVAILABLE.
ilDatabaseAtomBaseTest::testCallables | ( | ) |
Definition at line 129 of file ilDatabaseAtomBaseTest.php.
ilDatabaseAtomBaseTest::testGetInstance | ( | ) |
Definition at line 71 of file ilDatabaseAtomBaseTest.php.
References ilAtomQuery\ISOLATION_SERIALIZABLE.
ilDatabaseAtomBaseTest::testLevel | ( | ) |
Definition at line 114 of file ilDatabaseAtomBaseTest.php.
References ilAtomQueryBase\checkIsolationLevel(), and ilAtomQueryException\DB_ATOM_ISO_WRONG_LEVEL.
ilDatabaseAtomBaseTest::testLockSameTable | ( | ) |
Definition at line 242 of file ilDatabaseAtomBaseTest.php.
References ilAtomQueryException\DB_ATOM_IDENTICAL_TABLES.
ilDatabaseAtomBaseTest::testLockSameTableWithAlias | ( | ) |
Definition at line 254 of file ilDatabaseAtomBaseTest.php.
References ilAtomQueryException\DB_ATOM_IDENTICAL_TABLES.
ilDatabaseAtomBaseTest::testMultipleClosures | ( | ) |
Definition at line 230 of file ilDatabaseAtomBaseTest.php.
References ilAtomQueryException\DB_ATOM_CLOSURE_ALREADY_SET.
ilDatabaseAtomBaseTest::testQueryWithFiveException | ( | ) |
Definition at line 168 of file ilDatabaseAtomBaseTest.php.
References $query, $result, and ilDatabaseException\DB_GENERAL.
ilDatabaseAtomBaseTest::testQueryWithTenException | ( | ) |
Definition at line 189 of file ilDatabaseAtomBaseTest.php.
References $query, $result, and ilDatabaseException\DB_GENERAL.
ilDatabaseAtomBaseTest::testReadCommited | ( | ) |
Definition at line 91 of file ilDatabaseAtomBaseTest.php.
References ilAtomQueryException\DB_ATOM_ISO_WRONG_LEVEL, and ilAtomQuery\ISOLATION_READ_COMMITED.
ilDatabaseAtomBaseTest::testReadRepeatedRead | ( | ) |
Definition at line 99 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 | ( | ) |
Definition at line 121 of file ilDatabaseAtomBaseTest.php.
ilDatabaseAtomBaseTest::testWithOutClosures | ( | ) |
Definition at line 221 of file ilDatabaseAtomBaseTest.php.
References ilAtomQueryException\DB_ATOM_CLOSURE_NONE.
ilDatabaseAtomBaseTest::testWithOutLocks | ( | ) |
Definition at line 213 of file ilDatabaseAtomBaseTest.php.
References ilAtomQueryException\DB_ATOM_LOCK_NO_TABLE.
ilDatabaseAtomBaseTest::testWrongIsolationLevel | ( | ) |
Definition at line 156 of file ilDatabaseAtomBaseTest.php.
References $ilDB, and ilDBInterface\getDBType().
|
protected |
Definition at line 45 of file ilDatabaseAtomBaseTest.php.
|
protected |
Definition at line 49 of file ilDatabaseAtomBaseTest.php.
|
protected |
Definition at line 53 of file ilDatabaseAtomBaseTest.php.