Open Journal Systems
3.3.0
|
Protected Member Functions | |
getAffectedTables () | |
setUp () | |
tearDown () | |
Protected Member Functions inherited from PKPTestCase | |
getMockedDAOs () | |
getMockedRegistryKeys () | |
mockRequest ($path='index/test-page/test-op', $userId=null) | |
setTestConfiguration ($config, $configPath='config') | |
Additional Inherited Members | |
Public Member Functions inherited from PKPTestCase | |
getActualOutput () | |
Data Fields inherited from PKPTestCase | |
$mockedRegistryKeys = array() | |
$registryBackup = array() | |
Base class for unit tests that require database support. The schema TestName.setUp.xml will be installed before each individual test case (if present). The schema TestName.tearDown.xml may be used to clean up after each test case.
Definition at line 23 of file DatabaseTestCase.inc.php.
|
protected |
Override this method if you want to backup/restore tables before/after the test.
Reimplemented in PluginTestCase, MetadataPluginTestCase, and FilterDAOTest.
Definition at line 30 of file DatabaseTestCase.inc.php.
Referenced by setUp(), and tearDown().
|
protected |
Reimplemented from PKPTestCase.
Reimplemented in FilterDAOTest.
Definition at line 37 of file DatabaseTestCase.inc.php.
References PKPTestHelper\backupTables(), getAffectedTables(), DBConnection\getInstance(), and PKPTestHelper\xdebugScream().
|
protected |
Reimplemented from PKPTestCase.
Definition at line 57 of file DatabaseTestCase.inc.php.
References getAffectedTables(), PKPTestHelper\restoreDB(), PKPTestHelper\restoreTables(), and PKPTestHelper\xdebugScream().