PHP Class Psecio\PropAuth\PolicyTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: psecio/propauth

Public Methods

Method Description
testAddCanCheckClassMethod ( ) Adding a "can" check using the class/method structure
testAddCannotCheckClassMethod ( ) Adding a "cannot" check using the class/method structure
testAddCannotCheckClosure ( ) Adding a "cannot" check using the closure structure
testAddCheckClosure ( ) Adding a "can" check with a closure and checking it's correctly added
testAddCheckMagicMethod ( )
testAddCheckWithPolicy ( ) Adding a check with additional options (like the rule)
testAddNotCheck ( ) Adding a "not" check to a policy and checking it's correctly added
testAddPasswordCheck ( ) Adding a "password" check type and verifying it's added correctly
testCreateNewInstance ( ) Test the creation of a new Policy object with the instance method
testLoadFromString ( ) Test the loading of a policy stright and the resulting policy set and objects

Method Details

testAddCanCheckClassMethod() public method

Adding a "can" check using the class/method structure

testAddCannotCheckClassMethod() public method

Adding a "cannot" check using the class/method structure

testAddCannotCheckClosure() public method

Adding a "cannot" check using the closure structure

testAddCheckClosure() public method

Adding a "can" check with a closure and checking it's correctly added
public testAddCheckClosure ( )

testAddCheckMagicMethod() public method

testAddCheckWithPolicy() public method

Adding a check with additional options (like the rule)

testAddNotCheck() public method

Adding a "not" check to a policy and checking it's correctly added
public testAddNotCheck ( )

testAddPasswordCheck() public method

Adding a "password" check type and verifying it's added correctly

testCreateNewInstance() public method

Test the creation of a new Policy object with the instance method

testLoadFromString() public method

Test the loading of a policy stright and the resulting policy set and objects
public testLoadFromString ( )