Open Journal Systems  2.4.4
 All Classes Namespaces Functions Variables Groups Pages
AuthorizationDecisionManagerTest Class Reference
Inheritance diagram for AuthorizationDecisionManagerTest:
PolicyTestCase PKPTestCase

Public Member Functions

 mockCallOnDeny ($argument)
 
 testAuthorizationContext ()
 
 testAuthorizationMessages ()
 
 testCallOnDeny ()
 
 testDecide ()
 
 testDecideIfNoPolicyApplies ()
 
- Public Member Functions inherited from PolicyTestCase
 mockEffect ()
 
 mockGetContext ()
 
- Public Member Functions inherited from PKPTestCase
 getActualOutput ()
 

Additional Inherited Members

- Protected Member Functions inherited from PolicyTestCase
 getAuthorizationContextManipulationPolicy ()
 
 getMockedRegistryKeys ()
 
 getMockRequest ($requestedOp, $context=null, $user=null)
 
- Protected Member Functions inherited from PKPTestCase
 getMockedDAOs ()
 
 getMockedRegistryKeys ()
 
 setTestConfiguration ($config, $configPath= 'config')
 
 setUp ()
 
 tearDown ()
 

Detailed Description

Test class for the AuthorizationDecisionManager class.

See Also
AuthorizationDecisionManager

Definition at line 21 of file AuthorizationDecisionManagerTest.php.

Member Function Documentation

AuthorizationDecisionManagerTest::mockCallOnDeny (   $argument)

Mock method used in testCallOnDeny() to test the call-on-deny feature.

Parameters
$argumentstring

Definition at line 175 of file AuthorizationDecisionManagerTest.php.

AuthorizationDecisionManagerTest::testAuthorizationContext ( )
AuthorizationDecisionManagerTest::testAuthorizationMessages ( )
AuthorizationDecisionManagerTest::testCallOnDeny ( )
AuthorizationDecisionManagerTest::testDecide ( )
AuthorizationDecisionManagerTest::testDecideIfNoPolicyApplies ( )

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