PHP 클래스 Phalcon\Test\Unit\Acl\Adapter\MemoryTest

저자: Andres Gutierrez ([email protected])
저자: Nikolaos Dimopoulos ([email protected])
파일 보기 프로젝트 열기: phalcon/cphalcon

공개 메소드들

메소드 설명
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])