PHP 클래스 Acl\Test\TestCase\Auth\CrudAuthorizeTest

상속: extends Cake\TestSuite\TestCase
파일 보기 프로젝트 열기: cakephp/acl

공개 메소드들

메소드 설명
setUp ( ) : void setup
testAuthorizeCheckFailure ( ) : void test check() failing
testAuthorizeCheckSuccess ( ) : void test check() passing
testAuthorizeNoMappedAction ( ) : void test authorize() without a mapped action, ensure an error is generated.
testMapActionsGet ( ) : void test getting actionMap
testMapActionsSet ( ) : void test adding into mapActions

보호된 메소드들

메소드 설명
_mockAcl ( ) : void setup the mock acl.

메소드 상세

_mockAcl() 보호된 메소드

setup the mock acl.
protected _mockAcl ( ) : void
리턴 void

setUp() 공개 메소드

setup
public setUp ( ) : void
리턴 void

testAuthorizeCheckFailure() 공개 메소드

test check() failing
public testAuthorizeCheckFailure ( ) : void
리턴 void

testAuthorizeCheckSuccess() 공개 메소드

test check() passing
public testAuthorizeCheckSuccess ( ) : void
리턴 void

testAuthorizeNoMappedAction() 공개 메소드

test authorize() without a mapped action, ensure an error is generated.
public testAuthorizeNoMappedAction ( ) : void
리턴 void

testMapActionsGet() 공개 메소드

test getting actionMap
public testMapActionsGet ( ) : void
리턴 void

testMapActionsSet() 공개 메소드

test adding into mapActions
public testMapActionsSet ( ) : void
리턴 void