GroupTest Class Reference

Inheritance diagram for GroupTest:
ZurmoBaseTest BaseTest

Public Member Functions

 setUp ()
 testSaveAndLoadGroup ()
 testReadGroupsOnUser ()
 testGroupsWithParentGroup ()
 testGroupsContainingGroupsAndContains ()
 testCreatingSavingLoadingRemovingFromSavingAndLoadingGroups ()
 testEveryoneOnlyCanExistOnce ()
 testSuperAdministratorsOnlyCanExistOnce ()
 testEveryoneOnlyCannotBeDeleted ()
 testSuperAdministratorsCannotBeDeleted ()
 testCannotSetAGroupsNameToEveryone ()
 testCannotSetAGroupsNameToSuperAdministrators ()
 testCannotChangeTheEveryoneGroupsName ()
 testCannotChangeTheSuperAdministratorsGroupsName ()
 testCanGetUsersFromTheEveryoneGroup ()
 testCannotAddUsersToTheEveryoneGroup ()
 testCanGetGroupsFromTheEveryoneGroupButItIsEmptyArray ()
 testCannotModifyGroupMembershipForTheTheEveryoneGroup ()
 testNonSuperAdministratorsCannotModifyGroupMembershipForTheTheSuperAdministratorsGroup ()
 testCannotSetEveryonesParentGroup ()
 testGetEveryonesParentGroupReturnsNull ()
 testEveryoneImplicitlyContainsAllGroups ()
 testEveryoneImplicitlyContainsAllUsers ()
 testCannotGetRightsFromTheSuperAdministratorsGroup ()
 testCannotSetRightsOnTheSuperAdministratorsGroup ()
 testCannotRemoveRightsOnTheSuperAdministratorsGroup ()
 testCannotRemoveAllRightsOnTheSuperAdministratorsGroup ()
 testSuperAdministratorsImplicitlyHasAllRights ()
 testSetParentOfGroup_ieBelongsToSideOfRelation ()
 testEveryOneGroupShouldHaveNoParentAfterSave ()
 testAccessingUsersGroupsAfterGroupIsDeleted ()
 testIsUserASuperAdministrator ()
 resolveEveryoneDisplayLabel ()

Static Public Member Functions

static setUpBeforeClass ()

Static Protected Member Functions

static fastContainsUserByGroupName ($groupName, $userId)
static fastContainsUserByGroupId ($groupId, $userId)

Detailed Description

Definition at line 37 of file GroupTest.php.


Member Function Documentation

testReadGroupsOnUser (  ) 

testSaveAndLoadGroup

Definition at line 98 of file GroupTest.php.

testGroupsWithParentGroup (  ) 

testSaveAndLoadGroup

Definition at line 134 of file GroupTest.php.

testGroupsContainingGroupsAndContains (  ) 

testSaveAndLoadGroup

Definition at line 163 of file GroupTest.php.

testCreatingSavingLoadingRemovingFromSavingAndLoadingGroups (  ) 

testGroupsContainingGroupsAndContains

Definition at line 336 of file GroupTest.php.

testEveryoneOnlyCannotBeDeleted (  ) 

NotSupportedException

Definition at line 486 of file GroupTest.php.

testSuperAdministratorsCannotBeDeleted (  ) 

NotSupportedException

Definition at line 496 of file GroupTest.php.

testCannotSetAGroupsNameToEveryone (  ) 

NotSupportedException

Definition at line 506 of file GroupTest.php.

testCannotSetAGroupsNameToSuperAdministrators (  ) 

NotSupportedException

Definition at line 515 of file GroupTest.php.

testCannotChangeTheEveryoneGroupsName (  ) 

NotSupportedException

Definition at line 524 of file GroupTest.php.

testCannotChangeTheSuperAdministratorsGroupsName (  ) 

NotSupportedException

Definition at line 533 of file GroupTest.php.

testNonSuperAdministratorsCannotModifyGroupMembershipForTheTheSuperAdministratorsGroup (  ) 

testCannotModifyGroupMembershipForTheTheEveryoneGroup

Definition at line 574 of file GroupTest.php.

testCannotSetEveryonesParentGroup (  ) 

NotSupportedException

Definition at line 590 of file GroupTest.php.

testEveryoneImplicitlyContainsAllGroups (  ) 

testCannotModifyGroupMembershipForTheTheEveryoneGroup

Definition at line 607 of file GroupTest.php.

testEveryoneImplicitlyContainsAllUsers (  ) 

testCannotAddUsersToTheEveryoneGroup

Definition at line 620 of file GroupTest.php.

testCannotGetRightsFromTheSuperAdministratorsGroup (  ) 

NotSupportedException

Definition at line 633 of file GroupTest.php.

testCannotSetRightsOnTheSuperAdministratorsGroup (  ) 

testCannotModifyGroupMembershipForTheTheEveryoneGroup NotSupportedException

Definition at line 644 of file GroupTest.php.

testCannotRemoveRightsOnTheSuperAdministratorsGroup (  ) 

testCannotModifyGroupMembershipForTheTheEveryoneGroup NotSupportedException

Definition at line 655 of file GroupTest.php.

testCannotRemoveAllRightsOnTheSuperAdministratorsGroup (  ) 

testCannotModifyGroupMembershipForTheTheEveryoneGroup NotSupportedException

Definition at line 665 of file GroupTest.php.

testSuperAdministratorsImplicitlyHasAllRights (  ) 

testCannotModifyGroupMembershipForTheTheEveryoneGroup

Definition at line 674 of file GroupTest.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Mar 27 07:10:25 2017