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

Inheritance: extends Cake\TestSuite\TestCase
显示文件 Open project: dereuromark/cakephp-tinyauth

Protected Properties

Property Type Description
$AuthUserHelper TinyAuth\View\Helper\AuthUserHelper
$View Cake\View\View
$config array

Public Methods

Method Description
setUp ( ) : void
testIsAuthorizedInvalid ( ) : void
testIsAuthorizedNotLoggedIn ( ) : void
testIsAuthorizedValid ( ) : void
testIsMe ( ) : void
testLinkInvalidDefault ( ) : void
testLinkNotLoggedIn ( ) : void
testLinkSpeed ( ) : void ACL links are basically free, they are as fast as normal links.
testLinkValid ( ) : void
testPostLinkInvalid ( ) : void
testPostLinkValid ( ) : void
testPostLinkValidNoEscape ( ) : void
testRoles ( ) : void
testUser ( ) : void

Method Details

setUp() public method

public setUp ( ) : 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

testLinkInvalidDefault() public method

public testLinkInvalidDefault ( ) : void
return void

testLinkNotLoggedIn() public method

public testLinkNotLoggedIn ( ) : void
return void

testLinkSpeed() public method

ACL links are basically free, they are as fast as normal links.
public testLinkSpeed ( ) : void
return void

testLinkValid() public method

public testLinkValid ( ) : void
return void

testPostLinkInvalid() public method

public testPostLinkInvalid ( ) : void
return void

testPostLinkValid() public method

public testPostLinkValid ( ) : void
return void

testPostLinkValidNoEscape() public method

public testPostLinkValidNoEscape ( ) : void
return void

testRoles() public method

public testRoles ( ) : void
return void

testUser() public method

public testUser ( ) : void
return void

Property Details

$AuthUserHelper protected_oe property

protected AuthUserHelper,TinyAuth\View\Helper $AuthUserHelper
return TinyAuth\View\Helper\AuthUserHelper

$View protected_oe property

protected View,Cake\View $View
return Cake\View\View

$config protected_oe property

protected array $config
return array