Public Member Functions

SubmissionFileDAOTest Class Reference

Test class for SubmissionFileDAO. More...

List of all members.

Public Member Functions

 _compareFiles ($sourceFile, $targetFile)
 getTestGenre ($genreId)
 testSubmissionFileCrud ()

Detailed Description

Test class for SubmissionFileDAO.

See also:
SubmissionFileDAO

Definition at line 36 of file SubmissionFileDAOTest.inc.php.


Member Function Documentation

SubmissionFileDAOTest._compareFiles ( sourceFile,
targetFile 
)

Compare the common properties of monograph and artwork files even when the two files do not have the same implementation.

Parameters:
$sourceFile MonographFile
$targetFile MonographFile

Definition at line 481 of file SubmissionFileDAOTest.inc.php.

Referenced by testSubmissionFileCrud().

SubmissionFileDAOTest.getTestGenre ( genreId  ) 

Return a test genre.

Parameters:
$genreId integer
Returns:
Genre the test genre.

Definition at line 442 of file SubmissionFileDAOTest.inc.php.

References Request.getPress().

SubmissionFileDAOTest.testSubmissionFileCrud (  ) 

SubmissionFileDAO PKPSubmissionFileDAO MonographFileDAODelegate ArtworkFileDAODelegate SubmissionFileDAODelegate

Definition at line 75 of file SubmissionFileDAOTest.inc.php.

References _compareFiles().


The documentation for this class was generated from the following file: