All Data Structures Functions Variables Pages
Public Member Functions | Static Public Member Functions | Static Protected Member Functions
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 ()
 
- Public Member Functions inherited from ZurmoBaseTest
 setUp ()
 
- Public Member Functions inherited from BaseTest
 setup ()
 
 teardown ()
 

Static Public Member Functions

static setUpBeforeClass ()
 
- Static Public Member Functions inherited from ZurmoBaseTest
static setUpBeforeClass ()
 
static tearDownAfterClass ()
 
- Static Public Member Functions inherited from BaseTest
static setUpBeforeClass ()
 
static tearDownAfterClass ()
 
static resetAndPopulateFilesArrayByFilePathAndName ($arrayName, $filePath, $fileName)
 
static getDependentTestModelClassNames ()
 
static getReflectedPropertyValue ($object, $propertyName)
 

Static Protected Member Functions

static fastContainsUserByGroupName ($groupName, $userId)
 
static fastContainsUserByGroupId ($groupId, $userId)
 
- Static Protected Member Functions inherited from ZurmoBaseTest
static startOutputBuffer ()
 
static endAndGetOutputBuffer ()
 
- Static Protected Member Functions inherited from BaseTest
static getProtectedMethod ($className, $methodName)
 

Additional Inherited Members

- Static Public Attributes inherited from ZurmoBaseTest
static $activateDefaultLanguages = false
 
- Static Public Attributes inherited from BaseTest
static $activateDefaultLanguages = false
 
- Protected Member Functions inherited from ZurmoBaseTest
 endPrintOutputBufferAndFail ()
 
- Protected Member Functions inherited from BaseTest
 assertWithinTolerance ($expected, $actual, $plusMinus)
 
 assertWithinPercentage ($expected, $actual, $percentage)
 
 isDebug ()
 
- Static Protected Attributes inherited from ZurmoBaseTest
static $activitiesObserver
 
static $conversationsObserver
 
static $emailMessagesObserver
 
static $contactLatestActivityDateTimeObserver
 
static $accountLatestActivityDateTimeObserver
 
static $accountContactAffiliationObserver
 

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:
Generated on Mon Jan 27 2020 07:10:39