ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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 327 of file ilDatabaseAtomRunTest.php.
Referenced by testWriteWithLocks(), testWriteWithLocksAndAlias(), testWriteWithMultipleLocksAndAlias(), testWriteWithMultipleLocksWithAndWithoutAlias(), and testWriteWithTransactions().
|
protected |
Definition at line 275 of file ilDatabaseAtomRunTest.php.
Referenced by testNoTables(), testWriteWithLocks(), testWriteWithLocksAndAlias(), testWriteWithMultipleLocksAndAlias(), testWriteWithMultipleLocksWithAndWithoutAlias(), and testWriteWithTransactions().
|
protected |
Definition at line 312 of file ilDatabaseAtomRunTest.php.
References $d, $res, and $results.
Referenced by testWriteWithLocks(), testWriteWithLocksAndAlias(), testWriteWithMultipleLocksAndAlias(), testWriteWithMultipleLocksWithAndWithoutAlias(), and testWriteWithTransactions().
|
protected |
Definition at line 295 of file ilDatabaseAtomRunTest.php.
References ilAtomQuery\LOCK_WRITE.
|
protected |
Definition at line 57 of file ilDatabaseAtomRunTest.php.
References setupTable(), ilDBConstants\TYPE_GALERA, and ilDBConstants\TYPE_PDO_MYSQL_INNODB.
ilDatabaseAtomRunTest::setupTable | ( | ) |
Definition at line 98 of file ilDatabaseAtomRunTest.php.
Referenced by setUp().
ilDatabaseAtomRunTest::tearDown | ( | ) |
Definition at line 83 of file ilDatabaseAtomRunTest.php.
ilDatabaseAtomRunTest::testConnection | ( | ) |
Definition at line 90 of file ilDatabaseAtomRunTest.php.
ilDatabaseAtomRunTest::testNoQueries | ( | ) |
Definition at line 198 of file ilDatabaseAtomRunTest.php.
ilDatabaseAtomRunTest::testNoTables | ( | ) |
Definition at line 188 of file ilDatabaseAtomRunTest.php.
References getInsertQueryCallable().
ilDatabaseAtomRunTest::testTableExists | ( | ) |
Definition at line 120 of file ilDatabaseAtomRunTest.php.
ilDatabaseAtomRunTest::testUpdateDuringLock | ( | ) |
Definition at line 238 of file ilDatabaseAtomRunTest.php.
References $d, $query, $res, and ilAtomQuery\LOCK_WRITE.
ilDatabaseAtomRunTest::testUpdateDuringTransaction | ( | ) |
Definition at line 208 of file ilDatabaseAtomRunTest.php.
References $d, $query, and $res.
ilDatabaseAtomRunTest::testWriteWithLocks | ( | ) |
Definition at line 138 of file ilDatabaseAtomRunTest.php.
References getExpectedResult(), getInsertQueryCallable(), and getResultFromDB().
ilDatabaseAtomRunTest::testWriteWithLocksAndAlias | ( | ) |
Definition at line 150 of file ilDatabaseAtomRunTest.php.
References getExpectedResult(), getInsertQueryCallable(), and getResultFromDB().
ilDatabaseAtomRunTest::testWriteWithMultipleLocksAndAlias | ( | ) |
Definition at line 162 of file ilDatabaseAtomRunTest.php.
References getExpectedResult(), getInsertQueryCallable(), and getResultFromDB().
ilDatabaseAtomRunTest::testWriteWithMultipleLocksWithAndWithoutAlias | ( | ) |
Definition at line 175 of file ilDatabaseAtomRunTest.php.
References getExpectedResult(), getInsertQueryCallable(), and getResultFromDB().
ilDatabaseAtomRunTest::testWriteWithTransactions | ( | ) |
Definition at line 126 of file ilDatabaseAtomRunTest.php.
References getExpectedResult(), getInsertQueryCallable(), and getResultFromDB().
|
protected |
Definition at line 38 of file ilDatabaseAtomRunTest.php.
|
protected |
Definition at line 42 of file ilDatabaseAtomRunTest.php.
|
protected |
Definition at line 46 of file ilDatabaseAtomRunTest.php.
|
protected |
Definition at line 50 of file ilDatabaseAtomRunTest.php.
|
protected |
Definition at line 54 of file ilDatabaseAtomRunTest.php.