PHP Class Phalcon\Test\Acl\Factory\MemoryTest

Author: Nemanja Ognjanovic ([email protected])
Inheritance: extends Codeception\TestCase\Test
Afficher le fichier Open project: phalcon/incubator

Protected Properties

Свойство Type Description
$tester UnitTester UnitTester Object

Méthodes publiques

Méthode Description
invalidActionProvider ( )
testFactoryShouldCreateMemoryAclObjectFromAclConfigurationWithAllOptions ( )
testFactoryShouldThrowExceptionIfActionsKeyIsMissing ( )
testFactoryShouldThrowExceptionIfDefaultActionIsMissing ( )
testFactoryShouldThrowExceptionIfNonExistentInheritRoleIsSet ( )
testFactoryShouldThrowExceptionIfResourceOptionIsMissing ( )
testFactoryShouldThrowExceptionIfRoleKeyIsMissing ( )
testFactoryShouldThrowExceptionIfWrongMethodIsSet ( )
testFactoryShouldThrowExceptionIfWrongNoActionIsSet ( mixed $action )
testFactoryShouldWorkIfCreatedFromConfigPHPArray ( )

Méthodes protégées

Méthode Description
_after ( ) executed after each test
_before ( ) executed before each test
assertAclIsConfiguredAsExpected ( Phalcon\Acl\Adapter\Memory $acl, Phalcon\Config $config )

Method Details

_after() protected méthode

executed after each test
protected _after ( )

_before() protected méthode

executed before each test
protected _before ( )

assertAclIsConfiguredAsExpected() protected méthode

protected assertAclIsConfiguredAsExpected ( Phalcon\Acl\Adapter\Memory $acl, Phalcon\Config $config )
$acl Phalcon\Acl\Adapter\Memory
$config Phalcon\Config

invalidActionProvider() public méthode

testFactoryShouldCreateMemoryAclObjectFromAclConfigurationWithAllOptions() public méthode

testFactoryShouldThrowExceptionIfActionsKeyIsMissing() public méthode

testFactoryShouldThrowExceptionIfDefaultActionIsMissing() public méthode

testFactoryShouldThrowExceptionIfNonExistentInheritRoleIsSet() public méthode

testFactoryShouldThrowExceptionIfResourceOptionIsMissing() public méthode

testFactoryShouldThrowExceptionIfRoleKeyIsMissing() public méthode

testFactoryShouldThrowExceptionIfWrongMethodIsSet() public méthode

testFactoryShouldThrowExceptionIfWrongNoActionIsSet() public méthode

testFactoryShouldWorkIfCreatedFromConfigPHPArray() public méthode

Property Details

$tester protected_oe property

UnitTester Object
protected UnitTester $tester
Résultat UnitTester