Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Neos
Flow
Tests
Unit
Security
AccountTest
PHP 클래스 Neos\Flow\Tests\Unit\Security\AccountTest
상속:
extends
Neos\Flow\Tests\UnitTestCase
파일 보기
프로젝트 열기: neos/flow-development-collection
보호된 프로퍼티들
프로퍼티
타입
설명
$account
Neos\Flow\Security\Account
$administratorRole
Neos\Flow\Security\Policy\Role
$customerRole
Neos\Flow\Security\Policy\Role
공개 메소드들
메소드
설명
addRoleAddsRoleToAccountIfNotAssigned
( )
addRoleSkipsRoleIfAssigned
( )
expirationDateCanBeSetNull
( )
getRolesReturnsOnlyExistingRoles
( )
hasRoleReturnsFalseForAssignedButNonExistentRole
( )
hasRoleWorks
( )
isActiveReturnsFalseIfTheAccountHasAnExpirationDateInThePast
( )
isActiveReturnsTrueIfTheAccountHasAnExpirationDateInTheFuture
( )
isActiveReturnsTrueIfTheAccountHasNoExpirationDate
( )
removeRoleRemovesRoleFromAccountIfAssigned
( )
removeRoleSkipsRemovalIfRoleNotAssigned
( )
setRolesWorks
( )
setUp
( )
Setup function for the test case
메소드 상세
addRoleAddsRoleToAccountIfNotAssigned()
공개
메소드
public
addRoleAddsRoleToAccountIfNotAssigned
( )
addRoleSkipsRoleIfAssigned()
공개
메소드
public
addRoleSkipsRoleIfAssigned
( )
expirationDateCanBeSetNull()
공개
메소드
public
expirationDateCanBeSetNull
( )
getRolesReturnsOnlyExistingRoles()
공개
메소드
public
getRolesReturnsOnlyExistingRoles
( )
hasRoleReturnsFalseForAssignedButNonExistentRole()
공개
메소드
public
hasRoleReturnsFalseForAssignedButNonExistentRole
( )
hasRoleWorks()
공개
메소드
public
hasRoleWorks
( )
isActiveReturnsFalseIfTheAccountHasAnExpirationDateInThePast()
공개
메소드
public
isActiveReturnsFalseIfTheAccountHasAnExpirationDateInThePast
( )
isActiveReturnsTrueIfTheAccountHasAnExpirationDateInTheFuture()
공개
메소드
public
isActiveReturnsTrueIfTheAccountHasAnExpirationDateInTheFuture
( )
isActiveReturnsTrueIfTheAccountHasNoExpirationDate()
공개
메소드
public
isActiveReturnsTrueIfTheAccountHasNoExpirationDate
( )
removeRoleRemovesRoleFromAccountIfAssigned()
공개
메소드
public
removeRoleRemovesRoleFromAccountIfAssigned
( )
removeRoleSkipsRemovalIfRoleNotAssigned()
공개
메소드
public
removeRoleSkipsRemovalIfRoleNotAssigned
( )
setRolesWorks()
공개
메소드
public
setRolesWorks
( )
setUp()
공개
메소드
Setup function for the test case
public
setUp
( )
프로퍼티 상세
$account
보호되어 있는 프로퍼티
protected
Account,Neos\Flow\Security
$account
리턴
Neos\Flow\Security\Account
$administratorRole
보호되어 있는 프로퍼티
protected
Role,Neos\Flow\Security\Policy
$administratorRole
리턴
Neos\Flow\Security\Policy\Role
$customerRole
보호되어 있는 프로퍼티
protected
Role,Neos\Flow\Security\Policy
$customerRole
리턴
Neos\Flow\Security\Policy\Role