ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
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 32 of file ilDatabaseAtomRunTest.php.
|
protected |
Definition at line 309 of file ilDatabaseAtomRunTest.php.
References array.
Referenced by testWriteWithLocks(), testWriteWithLocksAndAlias(), testWriteWithMultipleLocksAndAlias(), testWriteWithMultipleLocksWithAndWithoutAlias(), and testWriteWithTransactions().
|
protected |
Definition at line 260 of file ilDatabaseAtomRunTest.php.
References $ilDB, $query, and array.
Referenced by testNoTables(), testWriteWithLocks(), testWriteWithLocksAndAlias(), testWriteWithMultipleLocksAndAlias(), testWriteWithMultipleLocksWithAndWithoutAlias(), and testWriteWithTransactions().
|
protected |
Definition at line 295 of file ilDatabaseAtomRunTest.php.
References $d, $res, $results, and array.
Referenced by testWriteWithLocks(), testWriteWithLocksAndAlias(), testWriteWithMultipleLocksAndAlias(), testWriteWithMultipleLocksWithAndWithoutAlias(), and testWriteWithTransactions().
|
protected |
Definition at line 279 of file ilDatabaseAtomRunTest.php.
References array, and ilAtomQuery\LOCK_WRITE.
|
protected |
Definition at line 56 of file ilDatabaseAtomRunTest.php.
References setupTable(), ilDBConstants\TYPE_GALERA, and ilDBConstants\TYPE_PDO_MYSQL_INNODB.
ilDatabaseAtomRunTest::setupTable | ( | ) |
Definition at line 94 of file ilDatabaseAtomRunTest.php.
References array.
Referenced by setUp().
ilDatabaseAtomRunTest::tearDown | ( | ) |
Definition at line 81 of file ilDatabaseAtomRunTest.php.
ilDatabaseAtomRunTest::testConnection | ( | ) |
Definition at line 87 of file ilDatabaseAtomRunTest.php.
ilDatabaseAtomRunTest::testNoQueries | ( | ) |
Definition at line 186 of file ilDatabaseAtomRunTest.php.
ilDatabaseAtomRunTest::testNoTables | ( | ) |
Definition at line 177 of file ilDatabaseAtomRunTest.php.
References getInsertQueryCallable().
ilDatabaseAtomRunTest::testTableExists | ( | ) |
Definition at line 115 of file ilDatabaseAtomRunTest.php.
ilDatabaseAtomRunTest::testUpdateDuringLock | ( | ) |
Definition at line 224 of file ilDatabaseAtomRunTest.php.
References $d, $query, $res, array, and ilAtomQuery\LOCK_WRITE.
ilDatabaseAtomRunTest::testUpdateDuringTransaction | ( | ) |
Definition at line 195 of file ilDatabaseAtomRunTest.php.
References $d, $query, $res, and array.
ilDatabaseAtomRunTest::testWriteWithLocks | ( | ) |
Definition at line 131 of file ilDatabaseAtomRunTest.php.
References getExpectedResult(), getInsertQueryCallable(), and getResultFromDB().
ilDatabaseAtomRunTest::testWriteWithLocksAndAlias | ( | ) |
Definition at line 142 of file ilDatabaseAtomRunTest.php.
References getExpectedResult(), getInsertQueryCallable(), and getResultFromDB().
ilDatabaseAtomRunTest::testWriteWithMultipleLocksAndAlias | ( | ) |
Definition at line 153 of file ilDatabaseAtomRunTest.php.
References getExpectedResult(), getInsertQueryCallable(), and getResultFromDB().
ilDatabaseAtomRunTest::testWriteWithMultipleLocksWithAndWithoutAlias | ( | ) |
Definition at line 165 of file ilDatabaseAtomRunTest.php.
References getExpectedResult(), getInsertQueryCallable(), and getResultFromDB().
ilDatabaseAtomRunTest::testWriteWithTransactions | ( | ) |
Definition at line 120 of file ilDatabaseAtomRunTest.php.
References getExpectedResult(), getInsertQueryCallable(), and getResultFromDB().
|
protected |
Definition at line 37 of file ilDatabaseAtomRunTest.php.
|
protected |
Definition at line 41 of file ilDatabaseAtomRunTest.php.
|
protected |
Definition at line 45 of file ilDatabaseAtomRunTest.php.
|
protected |
Definition at line 49 of file ilDatabaseAtomRunTest.php.
|
protected |
Definition at line 53 of file ilDatabaseAtomRunTest.php.