PHP Класс eZ\Bundle\EzPublishRestBundle\Tests\Functional\RoleTest

Наследование: extends TestCase
Показать файл Открыть проект

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

Метод Описание
provideLimitations ( )
testAddPolicy ( $roleHref ) : string
testAddPolicyByRoleDraft ( $roleDraftHref ) : string
testAssignRoleToUser ( $roleHref ) : string
testAssignRoleToUserGroup ( $roleHref ) : string
testAssignRoleToUserWithLimitation ( array $limitation ) : string
testCreateRole ( ) : string
testCreateRoleDraft ( $roleHref ) : string
testCreateRoleWithDraft ( ) : string
testDeletePolicies ( $roleHref )
testDeletePolicy ( $policyHref )
testDeleteRole ( $roleHref )
testDeleteRoleDraft ( $roleDraftHref )
testListPoliciesForUser ( )
testListRoles ( )
testLoadPolicies ( $roleHref )
testLoadPolicy ( $policyHref )
testLoadRole ( $roleHref )
testLoadRoleAssignmentForUser ( $roleAssignmentHref )
testLoadRoleAssignmentForUserGroup ( $roleAssignmentHref )
testLoadRoleAssignmentsForUser ( )
testLoadRoleAssignmentsForUserGroup ( )
testLoadRoleDraft ( $roleDraftHref )
testPublishRoleDraft ( $roleDraftHref )
testRemovePolicyByRoleDraft ( $policyHref )
testUnassignRoleFromUser ( $roleAssignmentHref )
testUnassignRoleFromUserGroup ( $roleAssignmentHref )
testUpdatePolicy ( $policyHref )
testUpdatePolicyByRoleDraft ( $policyHref )
testUpdateRole ( $roleHref )
testUpdateRoleDraft ( $roleDraftHref )

Приватные методы

Метод Описание
createAndPublishRole ( string $identifier ) : string Creates and publishes a role with $identifier.
roleDraftHrefToRoleHref ( string $roleDraftHref ) : string Helper method for changing a roledraft href to a role href.

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

provideLimitations() публичный метод

public provideLimitations ( )

testAddPolicy() публичный метод

public testAddPolicy ( $roleHref ) : string
Результат string The created policy href

testAddPolicyByRoleDraft() публичный метод

public testAddPolicyByRoleDraft ( $roleDraftHref ) : string
Результат string The created policy href

testAssignRoleToUser() публичный метод

public testAssignRoleToUser ( $roleHref ) : string
Результат string assigned role href

testAssignRoleToUserGroup() публичный метод

public testAssignRoleToUserGroup ( $roleHref ) : string
Результат string role assignment href

testAssignRoleToUserWithLimitation() публичный метод

public testAssignRoleToUserWithLimitation ( array $limitation ) : string
$limitation array
Результат string assigned role href

testCreateRole() публичный метод

public testCreateRole ( ) : string
Результат string The created role href

testCreateRoleDraft() публичный метод

public testCreateRoleDraft ( $roleHref ) : string
Результат string The created role draft href

testCreateRoleWithDraft() публичный метод

public testCreateRoleWithDraft ( ) : string
Результат string The created role draft href

testDeletePolicies() публичный метод

public testDeletePolicies ( $roleHref )

testDeletePolicy() публичный метод

public testDeletePolicy ( $policyHref )

testDeleteRole() публичный метод

public testDeleteRole ( $roleHref )

testDeleteRoleDraft() публичный метод

public testDeleteRoleDraft ( $roleDraftHref )

testListPoliciesForUser() публичный метод

testListRoles() публичный метод

public testListRoles ( )

testLoadPolicies() публичный метод

public testLoadPolicies ( $roleHref )

testLoadPolicy() публичный метод

public testLoadPolicy ( $policyHref )

testLoadRole() публичный метод

public testLoadRole ( $roleHref )

testLoadRoleAssignmentForUser() публичный метод

public testLoadRoleAssignmentForUser ( $roleAssignmentHref )

testLoadRoleAssignmentForUserGroup() публичный метод

public testLoadRoleAssignmentForUserGroup ( $roleAssignmentHref )

testLoadRoleAssignmentsForUser() публичный метод

testLoadRoleAssignmentsForUserGroup() публичный метод

testLoadRoleDraft() публичный метод

public testLoadRoleDraft ( $roleDraftHref )

testPublishRoleDraft() публичный метод

public testPublishRoleDraft ( $roleDraftHref )

testRemovePolicyByRoleDraft() публичный метод

public testRemovePolicyByRoleDraft ( $policyHref )

testUnassignRoleFromUser() публичный метод

public testUnassignRoleFromUser ( $roleAssignmentHref )

testUnassignRoleFromUserGroup() публичный метод

public testUnassignRoleFromUserGroup ( $roleAssignmentHref )

testUpdatePolicy() публичный метод

public testUpdatePolicy ( $policyHref )

testUpdatePolicyByRoleDraft() публичный метод

public testUpdatePolicyByRoleDraft ( $policyHref )

testUpdateRole() публичный метод

public testUpdateRole ( $roleHref )

testUpdateRoleDraft() публичный метод

public testUpdateRoleDraft ( $roleDraftHref )