PHP 클래스 CakeDC\Users\Test\TestCase\Controller\Component\UsersAuthComponentTest

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

공개 프로퍼티들

프로퍼티 타입 설명
$fixtures array Fixtures

공개 메소드들

메소드 설명
setUp ( ) : void setUp method
tearDown ( ) : void tearDown method
testInitialize ( ) Test initialize
testInitializeNoRequiredRememberMe ( ) Test initialize with not rememberMe component needed
testIsUrlAuthorizedMissingRouteArray ( ) : void test
testIsUrlAuthorizedMissingRouteString ( ) : void test
testIsUrlAuthorizedNoUrl ( ) : void test
testIsUrlAuthorizedUrlAbsoluteForCurrentAppString ( ) : void test
testIsUrlAuthorizedUrlAbsoluteForOtherAppString ( ) : void
testIsUrlAuthorizedUrlArray ( ) : void test
testIsUrlAuthorizedUrlRelativeForCurrentAppString ( ) : void test
testIsUrlAuthorizedUrlRelativeString ( ) : void test
testIsUrlAuthorizedUserLoggedInAllowedActionAllowed ( ) : void test The user is logged in and allowed by rules to access this action, and the controller action is public $this->Auth->allow()
testIsUrlAuthorizedUserLoggedInNotAllowedActionAllowed ( ) : void test The user is logged in and not allowed by rules to access this action, but the controller action is public $this->Auth->allow()
testIsUrlAuthorizedUserNotLoggedIn ( ) : void test
testIsUrlAuthorizedUserNotLoggedInActionAllowed ( ) : void test The user is not logged in, but the controller action is public $this->Auth->allow()

메소드 상세

setUp() 공개 메소드

setUp method
public setUp ( ) : void
리턴 void

tearDown() 공개 메소드

tearDown method
public tearDown ( ) : void
리턴 void

testInitialize() 공개 메소드

Test initialize
public testInitialize ( )

testInitializeNoRequiredRememberMe() 공개 메소드

Test initialize with not rememberMe component needed

testIsUrlAuthorizedMissingRouteArray() 공개 메소드

test

testIsUrlAuthorizedMissingRouteString() 공개 메소드

test

testIsUrlAuthorizedNoUrl() 공개 메소드

test
public testIsUrlAuthorizedNoUrl ( ) : void
리턴 void

testIsUrlAuthorizedUrlAbsoluteForCurrentAppString() 공개 메소드

test

testIsUrlAuthorizedUrlAbsoluteForOtherAppString() 공개 메소드

testIsUrlAuthorizedUrlArray() 공개 메소드

test
public testIsUrlAuthorizedUrlArray ( ) : void
리턴 void

testIsUrlAuthorizedUrlRelativeForCurrentAppString() 공개 메소드

test

testIsUrlAuthorizedUrlRelativeString() 공개 메소드

test

testIsUrlAuthorizedUserLoggedInAllowedActionAllowed() 공개 메소드

test The user is logged in and allowed by rules to access this action, and the controller action is public $this->Auth->allow()

testIsUrlAuthorizedUserLoggedInNotAllowedActionAllowed() 공개 메소드

test The user is logged in and not allowed by rules to access this action, but the controller action is public $this->Auth->allow()

testIsUrlAuthorizedUserNotLoggedIn() 공개 메소드

test

testIsUrlAuthorizedUserNotLoggedInActionAllowed() 공개 메소드

test The user is not logged in, but the controller action is public $this->Auth->allow()

프로퍼티 상세

$fixtures 공개적으로 프로퍼티

Fixtures
public array $fixtures
리턴 array