PHP Класс Psecio\PropAuth\PolicyTest

Наследование: extends PHPUnit_Framework_TestCase
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

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
public testAddCheckClosure ( )

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
public testAddNotCheck ( )

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
public testLoadFromString ( )