PHP 클래스 Phalcon\Test\Acl\Factory\MemoryTest

저자: Nemanja Ognjanovic ([email protected])
상속: extends Codeception\TestCase\Test
파일 보기 프로젝트 열기: phalcon/incubator

보호된 프로퍼티들

프로퍼티 타입 설명
$tester UnitTester UnitTester Object

공개 메소드들

메소드 설명
invalidActionProvider ( )
testFactoryShouldCreateMemoryAclObjectFromAclConfigurationWithAllOptions ( )
testFactoryShouldThrowExceptionIfActionsKeyIsMissing ( )
testFactoryShouldThrowExceptionIfDefaultActionIsMissing ( )
testFactoryShouldThrowExceptionIfNonExistentInheritRoleIsSet ( )
testFactoryShouldThrowExceptionIfResourceOptionIsMissing ( )
testFactoryShouldThrowExceptionIfRoleKeyIsMissing ( )
testFactoryShouldThrowExceptionIfWrongMethodIsSet ( )
testFactoryShouldThrowExceptionIfWrongNoActionIsSet ( mixed $action )
testFactoryShouldWorkIfCreatedFromConfigPHPArray ( )

보호된 메소드들

메소드 설명
_after ( ) executed after each test
_before ( ) executed before each test
assertAclIsConfiguredAsExpected ( Phalcon\Acl\Adapter\Memory $acl, Phalcon\Config $config )

메소드 상세

_after() 보호된 메소드

executed after each test
protected _after ( )

_before() 보호된 메소드

executed before each test
protected _before ( )

assertAclIsConfiguredAsExpected() 보호된 메소드

protected assertAclIsConfiguredAsExpected ( Phalcon\Acl\Adapter\Memory $acl, Phalcon\Config $config )
$acl Phalcon\Acl\Adapter\Memory
$config Phalcon\Config

invalidActionProvider() 공개 메소드

testFactoryShouldCreateMemoryAclObjectFromAclConfigurationWithAllOptions() 공개 메소드

testFactoryShouldThrowExceptionIfActionsKeyIsMissing() 공개 메소드

testFactoryShouldThrowExceptionIfDefaultActionIsMissing() 공개 메소드

testFactoryShouldThrowExceptionIfNonExistentInheritRoleIsSet() 공개 메소드

testFactoryShouldThrowExceptionIfResourceOptionIsMissing() 공개 메소드

testFactoryShouldThrowExceptionIfRoleKeyIsMissing() 공개 메소드

testFactoryShouldThrowExceptionIfWrongMethodIsSet() 공개 메소드

testFactoryShouldThrowExceptionIfWrongNoActionIsSet() 공개 메소드

testFactoryShouldWorkIfCreatedFromConfigPHPArray() 공개 메소드

프로퍼티 상세

$tester 보호되어 있는 프로퍼티

UnitTester Object
protected UnitTester $tester
리턴 UnitTester