PHP Class Acl\Test\TestCase\Auth\CrudAuthorizeTest

Inheritance: extends Cake\TestSuite\TestCase
Afficher le fichier Open project: cakephp/acl

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
_mockAcl ( ) : void setup the mock acl.

Method Details

_mockAcl() protected méthode

setup the mock acl.
protected _mockAcl ( ) : void
Résultat void

setUp() public méthode

setup
public setUp ( ) : void
Résultat void

testAuthorizeCheckFailure() public méthode

test check() failing
public testAuthorizeCheckFailure ( ) : void
Résultat void

testAuthorizeCheckSuccess() public méthode

test check() passing
public testAuthorizeCheckSuccess ( ) : void
Résultat void

testAuthorizeNoMappedAction() public méthode

test authorize() without a mapped action, ensure an error is generated.
public testAuthorizeNoMappedAction ( ) : void
Résultat void

testMapActionsGet() public méthode

test getting actionMap
public testMapActionsGet ( ) : void
Résultat void

testMapActionsSet() public méthode

test adding into mapActions
public testMapActionsSet ( ) : void
Résultat void