PHP Class TinyAuth\Test\TestCase\Controller\Component\AuthUserComponentTest

Inheritance: extends Cake\TestSuite\TestCase
Exibir arquivo Open project: dereuromark/cakephp-tinyauth

Public Properties

Property Type Description
$fixtures array

Protected Properties

Property Type Description
$AuthUser TinyAuth\Controller\Component\AuthUserComponent

Public Methods

Method Description
setUp ( ) : void
testBeforeRenderSetAuthUser ( ) : void
testEmptyAuthSession ( ) : void
testHasRole ( ) : void
testHasRoles ( ) : void
testId ( ) : void
testIsAuthorizedInvalid ( ) : void
testIsAuthorizedNotLoggedIn ( ) : void
testIsAuthorizedValid ( ) : void
testIsMe ( ) : void
testRoles ( ) : void
testRolesDeep ( ) : void
testUser ( ) : void

Method Details

setUp() public method

public setUp ( ) : void
return void

testBeforeRenderSetAuthUser() public method

public testBeforeRenderSetAuthUser ( ) : void
return void

testEmptyAuthSession() public method

public testEmptyAuthSession ( ) : void
return void

testHasRole() public method

public testHasRole ( ) : void
return void

testHasRoles() public method

public testHasRoles ( ) : void
return void

testId() public method

public testId ( ) : void
return void

testIsAuthorizedInvalid() public method

public testIsAuthorizedInvalid ( ) : void
return void

testIsAuthorizedNotLoggedIn() public method

public testIsAuthorizedNotLoggedIn ( ) : void
return void

testIsAuthorizedValid() public method

public testIsAuthorizedValid ( ) : void
return void

testIsMe() public method

public testIsMe ( ) : void
return void

testRoles() public method

public testRoles ( ) : void
return void

testRolesDeep() public method

public testRolesDeep ( ) : void
return void

testUser() public method

public testUser ( ) : void
return void

Property Details

$AuthUser protected_oe property

protected AuthUserComponent,TinyAuth\Controller\Component $AuthUser
return TinyAuth\Controller\Component\AuthUserComponent

$fixtures public_oe property

public array $fixtures
return array