|
Open Monograph Press
3.3.0
|
Public Member Functions | |
| _compareFiles ($sourceFile, $targetFile) | |
| getTestGenre ($genreId) | |
| testNewDataObjectByGenreId () | |
| testSubmissionFileCrud () | |
Public Member Functions inherited from PKPTestCase | |
| getActualOutput () | |
Protected Member Functions | |
| setUp () | |
| tearDown () | |
Protected Member Functions inherited from DatabaseTestCase | |
| getAffectedTables () | |
Protected Member Functions inherited from PKPTestCase | |
| getMockedDAOs () | |
| getMockedRegistryKeys () | |
| mockRequest ($path='index/test-page/test-op', $userId=null) | |
| setTestConfiguration ($config, $configPath='config') | |
Additional Inherited Members | |
Data Fields inherited from PKPTestCase | |
| $mockedRegistryKeys = array() | |
| $registryBackup = array() | |
Test class for SubmissionFileDAO.
Definition at line 39 of file SubmissionFileDAOTest.php.
| SubmissionFileDAOTest::_compareFiles | ( | $sourceFile, | |
| $targetFile | |||
| ) |
Compare the common properties of monograph and artwork files even when the two files do not have the same implementation.
| $sourceFile | SubmissionFile |
| $targetFile | SubmissionFile |
Definition at line 533 of file SubmissionFileDAOTest.php.
Referenced by testSubmissionFileCrud().
| SubmissionFileDAOTest::getTestGenre | ( | $genreId | ) |
Return a test genre.
| $genreId | integer |
Definition at line 496 of file SubmissionFileDAOTest.php.
References PKPApplication\get().
|
protected |
Reimplemented from DatabaseTestCase.
Definition at line 42 of file SubmissionFileDAOTest.php.
References Registry\get(), PKPApplication\get(), and DAORegistry\registerDAO().
|
protected |
Reimplemented from DatabaseTestCase.
Definition at line 93 of file SubmissionFileDAOTest.php.
| SubmissionFileDAOTest::testNewDataObjectByGenreId | ( | ) |
Definition at line 475 of file SubmissionFileDAOTest.php.
References DAORegistry\getDAO().
| SubmissionFileDAOTest::testSubmissionFileCrud | ( | ) |
Definition at line 105 of file SubmissionFileDAOTest.php.
References _compareFiles(), DAORegistry\getDAO(), and DAORegistry\registerDAO().