ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
TestCase for the ilDatabaseAtomBaseTest. More...
Public Member Functions | |
tearDown () | |
testConnection () | |
setupTable () | |
testTableExists () | |
testWriteWithTransactions () | |
testWriteWithLocks () | |
testWriteWithLocksAndAlias () | |
testWriteWithMultipleLocksAndAlias () | |
testWriteWithMultipleLocksWithAndWithoutAlias () | |
testNoTables () | |
testNoQueries () | |
testUpdateDuringTransaction () | |
testUpdateDuringLock () | |
Protected Member Functions | |
setUp () | |
getInsertQueryCallable () | |
getTableLocksForDbInterface () | |
getResultFromDB () | |
getExpectedResult () | |
Protected Attributes | |
$backupGlobals = false | |
$ilDBInterfaceGalera | |
$ilDBInterfaceGaleraSecond | |
$ilDBInterfaceInnoDB | |
$ilDBInterfaceInnoDBSecond | |
TestCase for the ilDatabaseAtomBaseTest.
needsInstalledILIAS
Definition at line 34 of file ilDatabaseAtomRunTest.php.
|
protected |
Definition at line 328 of file ilDatabaseAtomRunTest.php.
Referenced by testWriteWithLocks(), testWriteWithLocksAndAlias(), testWriteWithMultipleLocksAndAlias(), testWriteWithMultipleLocksWithAndWithoutAlias(), and testWriteWithTransactions().
|
protected |
Definition at line 276 of file ilDatabaseAtomRunTest.php.
Referenced by testNoTables(), testWriteWithLocks(), testWriteWithLocksAndAlias(), testWriteWithMultipleLocksAndAlias(), testWriteWithMultipleLocksWithAndWithoutAlias(), and testWriteWithTransactions().
|
protected |
Definition at line 313 of file ilDatabaseAtomRunTest.php.
References $d, $res, and $results.
Referenced by testWriteWithLocks(), testWriteWithLocksAndAlias(), testWriteWithMultipleLocksAndAlias(), testWriteWithMultipleLocksWithAndWithoutAlias(), and testWriteWithTransactions().
|
protected |
Definition at line 296 of file ilDatabaseAtomRunTest.php.
References ilAtomQuery\LOCK_WRITE.
|
protected |
Definition at line 59 of file ilDatabaseAtomRunTest.php.
References ilDBWrapperFactory\getWrapper(), setupTable(), ilDBConstants\TYPE_GALERA, and ilDBConstants\TYPE_PDO_MYSQL_INNODB.
ilDatabaseAtomRunTest::setupTable | ( | ) |
Definition at line 99 of file ilDatabaseAtomRunTest.php.
Referenced by setUp().
ilDatabaseAtomRunTest::tearDown | ( | ) |
Definition at line 84 of file ilDatabaseAtomRunTest.php.
ilDatabaseAtomRunTest::testConnection | ( | ) |
Definition at line 91 of file ilDatabaseAtomRunTest.php.
ilDatabaseAtomRunTest::testNoQueries | ( | ) |
Definition at line 199 of file ilDatabaseAtomRunTest.php.
ilDatabaseAtomRunTest::testNoTables | ( | ) |
Definition at line 189 of file ilDatabaseAtomRunTest.php.
References getInsertQueryCallable().
ilDatabaseAtomRunTest::testTableExists | ( | ) |
Definition at line 121 of file ilDatabaseAtomRunTest.php.
ilDatabaseAtomRunTest::testUpdateDuringLock | ( | ) |
Definition at line 239 of file ilDatabaseAtomRunTest.php.
References $d, $query, $res, and ilAtomQuery\LOCK_WRITE.
ilDatabaseAtomRunTest::testUpdateDuringTransaction | ( | ) |
Definition at line 209 of file ilDatabaseAtomRunTest.php.
References $d, $query, and $res.
ilDatabaseAtomRunTest::testWriteWithLocks | ( | ) |
Definition at line 139 of file ilDatabaseAtomRunTest.php.
References getExpectedResult(), getInsertQueryCallable(), and getResultFromDB().
ilDatabaseAtomRunTest::testWriteWithLocksAndAlias | ( | ) |
Definition at line 151 of file ilDatabaseAtomRunTest.php.
References getExpectedResult(), getInsertQueryCallable(), and getResultFromDB().
ilDatabaseAtomRunTest::testWriteWithMultipleLocksAndAlias | ( | ) |
Definition at line 163 of file ilDatabaseAtomRunTest.php.
References getExpectedResult(), getInsertQueryCallable(), and getResultFromDB().
ilDatabaseAtomRunTest::testWriteWithMultipleLocksWithAndWithoutAlias | ( | ) |
Definition at line 176 of file ilDatabaseAtomRunTest.php.
References getExpectedResult(), getInsertQueryCallable(), and getResultFromDB().
ilDatabaseAtomRunTest::testWriteWithTransactions | ( | ) |
Definition at line 127 of file ilDatabaseAtomRunTest.php.
References getExpectedResult(), getInsertQueryCallable(), and getResultFromDB().
|
protected |
Definition at line 40 of file ilDatabaseAtomRunTest.php.
|
protected |
Definition at line 44 of file ilDatabaseAtomRunTest.php.
|
protected |
Definition at line 48 of file ilDatabaseAtomRunTest.php.
|
protected |
Definition at line 52 of file ilDatabaseAtomRunTest.php.
|
protected |
Definition at line 56 of file ilDatabaseAtomRunTest.php.