Open Journal Systems  2.4.3
 All Classes Namespaces Functions Variables Groups Pages
ProcessDAOTest Class Reference
Inheritance diagram for ProcessDAOTest:
DatabaseTestCase PKPTestCase

Public Member Functions

 testAuthorization ()
 
 testCanContinue ()
 
 testProcessCrud ()
 
- Public Member Functions inherited from PKPTestCase
 getActualOutput ()
 

Protected Member Functions

 getAffectedTables ()
 
 setUp ()
 
- Protected Member Functions inherited from DatabaseTestCase
 getAffectedTables ()
 
 setUp ()
 
 tearDown ()
 
- Protected Member Functions inherited from PKPTestCase
 getMockedDAOs ()
 
 getMockedRegistryKeys ()
 
 setTestConfiguration ($config, $configPath= 'config')
 
 setUp ()
 
 tearDown ()
 

Detailed Description

Test class for ProcessDAO.

See Also
ProcessDAO

We cannot test ProcessDAO::spawnProcess() as this would actually call external web URLs which we want to avoid.

Definition at line 24 of file ProcessDAOTest.php.

Member Function Documentation

ProcessDAOTest::getAffectedTables ( )
protected
See Also
DatabaseTestCase::getAffectedTables()

Definition at line 33 of file ProcessDAOTest.php.

ProcessDAOTest::setUp ( )
protected
See Also
DatabaseTestCase::setUp()

Definition at line 40 of file ProcessDAOTest.php.

References DAORegistry\getDAO().

ProcessDAOTest::testAuthorization ( )

ProcessDAO::authorizeProcess

Definition at line 97 of file ProcessDAOTest.php.

ProcessDAOTest::testCanContinue ( )

ProcessDAO::canContinue

Definition at line 135 of file ProcessDAOTest.php.

ProcessDAOTest::testProcessCrud ( )

ProcessDAO Process

Definition at line 49 of file ProcessDAOTest.php.


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