PHP Class Elgg\UserCapabilitiesTest

Inheritance: extends TestCase
Afficher le fichier Open project: elgg/elgg

Méthodes publiques

Méthode Description
setUp ( )
tearDown ( )
testCanAnnotateByDefault ( )
testCanAnnotateHookSequence ( )
testCanAnnotateThrowsExceptionForNameArgumentSetToAnnotationInstance ( )
testCanAnnotateThrowsExceptionForNameArgumentSetToArray ( )
testCanAnnotateThrowsExceptionForNameArgumentSetToClosure ( )
testCanAnnotateThrowsExceptionForNameArgumentSetToInteger ( )
testCanDeleteWhenCanEdit ( )
testCanEditAnnotationWhenCanEdit ( )
testCanEditMetadataWhenCanEdit ( )
testCanNotEditMetadataOfUnsavedEntity ( )
testCanOverrideAnnotationPermissionsWithAGenericHook ( )
testCanOverrideAnnotationPermissionsWithAHook ( )
testCanOverrideAnnotationPermissionsWithAHookByAnnotationName ( )
testCanOverrideCommentingPermissionsWithAHook ( )
testCanOverrideContainerLogicWithAHook ( )
testCanOverrideContainerPermissionsWithAHook ( )
testCanOverrideDeletePermissionsWithAHook ( )
testCanOverrideEditPermissionsWithAHook ( )
testCanOverrideMetadataPermissionsWithAHook ( )
testCanUserEditSelf ( )
testCanWriteToContainerWhenCanEdit ( )
testContainerCanEditEntity ( )
testDefaultCanCommentPermissions ( )
testOwnerCanEditAnnotationOwnedBySelfOnOwnedEntity ( )
testOwnerCanEditAnnotationOwnedBySelfOnUnownedEntity ( )
testOwnerCanEditEntity ( )
testOwnerCanEditMetadataOwnedBySelf ( )
testOwnerCanEditUnownedAnnotationOnOwnedEntity ( )
testOwnerCanEditUnownedMetadata ( )

Method Details

setUp() public méthode

public setUp ( )

tearDown() public méthode

public tearDown ( )

testCanAnnotateByDefault() public méthode

testCanAnnotateHookSequence() public méthode

testCanAnnotateThrowsExceptionForNameArgumentSetToAnnotationInstance() public méthode

testCanAnnotateThrowsExceptionForNameArgumentSetToArray() public méthode

testCanAnnotateThrowsExceptionForNameArgumentSetToClosure() public méthode

testCanAnnotateThrowsExceptionForNameArgumentSetToInteger() public méthode

testCanDeleteWhenCanEdit() public méthode

testCanEditAnnotationWhenCanEdit() public méthode

testCanEditMetadataWhenCanEdit() public méthode

testCanNotEditMetadataOfUnsavedEntity() public méthode

testCanOverrideAnnotationPermissionsWithAGenericHook() public méthode

testCanOverrideAnnotationPermissionsWithAHook() public méthode

testCanOverrideAnnotationPermissionsWithAHookByAnnotationName() public méthode

testCanOverrideCommentingPermissionsWithAHook() public méthode

testCanOverrideContainerLogicWithAHook() public méthode

testCanOverrideContainerPermissionsWithAHook() public méthode

testCanOverrideDeletePermissionsWithAHook() public méthode

testCanOverrideEditPermissionsWithAHook() public méthode

testCanOverrideMetadataPermissionsWithAHook() public méthode

testCanUserEditSelf() public méthode

public testCanUserEditSelf ( )

testCanWriteToContainerWhenCanEdit() public méthode

testContainerCanEditEntity() public méthode

testDefaultCanCommentPermissions() public méthode

testOwnerCanEditAnnotationOwnedBySelfOnOwnedEntity() public méthode

testOwnerCanEditAnnotationOwnedBySelfOnUnownedEntity() public méthode

testOwnerCanEditEntity() public méthode

testOwnerCanEditMetadataOwnedBySelf() public méthode

testOwnerCanEditUnownedAnnotationOnOwnedEntity() public méthode

testOwnerCanEditUnownedMetadata() public méthode