PHP Класс Phalcon\Test\Unit\Acl\Adapter\MemoryTest

Автор: Andres Gutierrez ([email protected])
Автор: Nikolaos Dimopoulos ([email protected])
Наследование: extends Phalcon\Test\Module\UnitTest
Показать файл Открыть проект

Открытые методы

Метод Описание
testAclAddResourceExists ( ) Tests the addResource
testAclAddRoleExists ( ) Tests the addRole
testAclAddRoleTwiceByKeyReturnsFalse ( ) Tests the addRole for the same role twice by key
testAclAddRoleTwiceReturnsFalse ( ) Tests the addRole for the same role twice
testAclAllowFunction ( ) Tests function in Acl Allow Method
testAclAllowFunctionNoArguments ( ) Tests function in Acl Allow Method without arguments
testAclAllowFunctionNoArgumentsWithWarning ( ) Tests function in Acl Allow Method without arguments
testAclConstants ( ) Tests the ACL constants
testAclDefaultAction ( ) Tests the setDefaultAction
testAclIsRoleWithWrongKeyReturnsFalse ( ) Tests the isRole with wrong keyword
testAclNegationOfInheritedRoles ( ) Tests negation of inherited roles
testAclObjects ( ) Tests the ACL objects
testAclObjectsWithDefaultAction ( ) Tests the ACL objects default action
testAclResourceName ( ) Tests the resource name
testAclResourcesWithNumericValues ( ) Tests ACL Resources with numeric values
testAclRoleName ( ) Tests the role name
testAclSerialize ( ) Tests serializing the ACL
testAclWildcardAllowDeny ( ) Tests the wildcard allow/deny
testIssue12004 ( ) Tests function in Acl Allow Method
testWildCardLastRole ( ) Tests acl with adding new rule for role after adding wildcard rule
testWildCardSecondTime ( ) Tests adding wildcard rule second time

Описание методов

testAclAddResourceExists() публичный Метод

Tests the addResource
С версии: 2014-10-04
Автор: Nikolaos Dimopoulos ([email protected])

testAclAddRoleExists() публичный Метод

Tests the addRole
С версии: 2014-10-04
Автор: Nikolaos Dimopoulos ([email protected])

testAclAddRoleTwiceByKeyReturnsFalse() публичный Метод

Tests the addRole for the same role twice by key
С версии: 2014-10-04
Автор: Nikolaos Dimopoulos ([email protected])

testAclAddRoleTwiceReturnsFalse() публичный Метод

Tests the addRole for the same role twice
С версии: 2014-10-04
Автор: Nikolaos Dimopoulos ([email protected])

testAclAllowFunction() публичный Метод

Tests function in Acl Allow Method
С версии: 2015-12-16
Автор: Wojciech Slawski ([email protected])

testAclAllowFunctionNoArguments() публичный Метод

Tests function in Acl Allow Method without arguments
С версии: 2016-06-05
Автор: Wojciech Slawski ([email protected])

testAclAllowFunctionNoArgumentsWithWarning() публичный Метод

Tests function in Acl Allow Method without arguments
С версии: 2016-06-05
Автор: Wojciech Slawski ([email protected])

testAclConstants() публичный Метод

Tests the ACL constants
С версии: 2014-10-03
Автор: Nikolaos Dimopoulos ([email protected])
public testAclConstants ( )

testAclDefaultAction() публичный Метод

Tests the setDefaultAction
С версии: 2014-10-04
Автор: Nikolaos Dimopoulos ([email protected])

testAclIsRoleWithWrongKeyReturnsFalse() публичный Метод

Tests the isRole with wrong keyword
С версии: 2014-10-04
Автор: Nikolaos Dimopoulos ([email protected])

testAclNegationOfInheritedRoles() публичный Метод

Tests negation of inherited roles
С версии: 2014-10-04
Автор: Nikolaos Dimopoulos ([email protected])

testAclObjects() публичный Метод

Tests the ACL objects
С версии: 2014-10-04
Автор: Nikolaos Dimopoulos ([email protected])
public testAclObjects ( )

testAclObjectsWithDefaultAction() публичный Метод

Tests the ACL objects default action
С версии: 2014-10-04
Автор: Nikolaos Dimopoulos ([email protected])

testAclResourceName() публичный Метод

Tests the resource name
С версии: 2014-10-04
Автор: Nikolaos Dimopoulos ([email protected])
public testAclResourceName ( )

testAclResourcesWithNumericValues() публичный Метод

Tests ACL Resources with numeric values
С версии: 2014-10-04
Автор: Nikolaos Dimopoulos ([email protected])

testAclRoleName() публичный Метод

Tests the role name
С версии: 2014-10-04
Автор: Nikolaos Dimopoulos ([email protected])
public testAclRoleName ( )

testAclSerialize() публичный Метод

Tests serializing the ACL
С версии: 2014-10-04
Автор: Nikolaos Dimopoulos ([email protected])
public testAclSerialize ( )

testAclWildcardAllowDeny() публичный Метод

Tests the wildcard allow/deny
С версии: 2014-10-04
Автор: Nikolaos Dimopoulos ([email protected])

testIssue12004() публичный Метод

Tests function in Acl Allow Method
С версии: 2016-07-22
Автор: Wojciech Slawski ([email protected])
public testIssue12004 ( )

testWildCardLastRole() публичный Метод

Tests acl with adding new rule for role after adding wildcard rule
С версии: 2016-10-01
Автор: Wojciech Slawski ([email protected])

testWildCardSecondTime() публичный Метод

Tests adding wildcard rule second time
С версии: 2016-10-01
Автор: Wojciech Slawski ([email protected])