UserTest Class Reference

Inheritance diagram for UserTest:
ZurmoBaseTest BaseTest

Public Member Functions

 setUp ()
 testCannotSetIsSystemUserDirectlyOnModel ()
 testEmailUniquenessValidation ()
 testSetTitleValuesAndRetrieveTitleValuesFromUser ()
 testSaveCurrentUser ()
 testCreateAndGetUserById ()
 testCreateUserWithRelatedUser ()
 testCreateAndGetUserByIdThatDoesntExist ()
 testGetByUsername ()
 testGetLabel ()
 testGetByUsernameForNonExistentUsername ()
 testSearchByPartialName ()
 testSearchByPartialNameWithFirstNamePlusPartialLastName ()
 testCreateWithTitleThenClearTitleDirectly ()
 testCreateWithTitleThenClearTitleWithSetAttributesWithEmptyId ()
 testCreateWithTitleThenClearTitleWithSetAttributesWithNullId ()
 testCreateWithTitleThenClearTitleWithSetAttributesWithRealId ()
 testSaveUserWithNoManager ()
 testSaveExistingUserWithFakePost ()
 testSaveExistingUserWithUsersIdAsManagerId ()
 testUserMixingInPerson ()
 testCreateNewUserFromPostNoBadValues ()
 testDeleteUserCascadesToDeleteEverythingItShould ()
 testCanRemoveRoleFromUser ()
 testPasswordUserNamePolicyChangesValidationAndLogin ()
 testUserNamePolicyValidatesCorrectlyOnDifferentScenarios ()
 testValidatingUserAfterGettingAttributeValuesFromRelatedUsers ()
 testValidatingSuperAdministratorAfterGettingAttributeValuesFromRelatedUsers ()
 testSavingExistingUserDoesntCreateRelatedBlankUsers ()
 testMixedInPersonInUser ()
 testGetModelClassNames ()
 testLogAuditEventsListForCreatedAndModifedCreatingFirstUser ()
 testAvatarForUser ()
 testDeleteLastUserInSuperAdministratorsGroup ()
 testIsActiveOnUserSave ()
 testUserLocaleSettings ()
 testLastLoginDateTimeAttribute ()
 testTrimUsername ()
 testHideFromSelectingOnUserSave ()
 testHideFromLeaderboardOnUserSave ()
 testIsRootUserOnUserSave ()
 testIsSystemUserAndActiveUserCountOnUserSave ()
 testGetUsersByEmailAddress ()
 testGetUsersByPartialFullName ()
 testNonSystemUsersStateMetadataAdapter ()
 testIsSuperAdministrator ()

Static Public Member Functions

static setUpBeforeClass ()

Detailed Description

Definition at line 37 of file UserTest.php.


Member Function Documentation

testCannotSetIsSystemUserDirectlyOnModel (  ) 

You can only use setIsSystemUser to set the isSystemUser attribute NotSupportedException

Definition at line 55 of file UserTest.php.

testCreateUserWithRelatedUser (  ) 

testCreateAndGetUserById

Definition at line 146 of file UserTest.php.

testCreateAndGetUserByIdThatDoesntExist (  ) 

testCreateAndGetUserById NotFoundException

Definition at line 180 of file UserTest.php.

testGetByUsername (  ) 

testCreateAndGetUserById

Definition at line 188 of file UserTest.php.

testGetLabel (  ) 

testGetByUsername

Definition at line 197 of file UserTest.php.

testGetByUsernameForNonExistentUsername (  ) 

testGetByUsername NotFoundException

Definition at line 208 of file UserTest.php.

testSearchByPartialName (  ) 

testCreateAndGetUserById

Definition at line 216 of file UserTest.php.

testSearchByPartialNameWithFirstNamePlusPartialLastName (  ) 

testSearchByPartialName

Definition at line 282 of file UserTest.php.

testCreateWithTitleThenClearTitleDirectly (  ) 

testCreateAndGetUserById

Definition at line 327 of file UserTest.php.

testCreateWithTitleThenClearTitleWithSetAttributesWithEmptyId (  ) 

testCreateWithTitleThenClearTitleDirectly

Definition at line 349 of file UserTest.php.

testCreateWithTitleThenClearTitleWithSetAttributesWithNullId (  ) 

testCreateWithTitleThenClearTitleWithSetAttributesWithEmptyId

Definition at line 372 of file UserTest.php.

testCreateWithTitleThenClearTitleWithSetAttributesWithRealId (  ) 

testCreateWithTitleThenClearTitleWithSetAttributesWithNullId

Definition at line 395 of file UserTest.php.

testSaveExistingUserWithFakePost (  ) 

testCreateWithTitleThenClearTitleWithSetAttributesWithRealId testSaveUserWithNoManager

Definition at line 435 of file UserTest.php.

testSaveExistingUserWithUsersIdAsManagerId (  ) 

testSaveExistingUserWithFakePost

Definition at line 477 of file UserTest.php.

testDeleteUserCascadesToDeleteEverythingItShould (  ) 

testCreateAndGetUserById

Definition at line 593 of file UserTest.php.

testCanRemoveRoleFromUser (  ) 

testCreateAndGetUserById

Definition at line 663 of file UserTest.php.

testPasswordUserNamePolicyChangesValidationAndLogin (  ) 

testCreateAndGetUserById

Definition at line 716 of file UserTest.php.

testUserNamePolicyValidatesCorrectlyOnDifferentScenarios (  ) 

testPasswordUserNamePolicyChangesValidationAndLogin

Definition at line 859 of file UserTest.php.

testSavingExistingUserDoesntCreateRelatedBlankUsers (  ) 

testCreateUserWithRelatedUser

Definition at line 928 of file UserTest.php.

testDeleteLastUserInSuperAdministratorsGroup (  ) 

NotSupportedException

Definition at line 1100 of file UserTest.php.

testIsActiveOnUserSave (  ) 

test for checking isActive attribute

Definition at line 1116 of file UserTest.php.

testHideFromSelectingOnUserSave (  ) 

test for checking hideFromSelecting attribute

Definition at line 1209 of file UserTest.php.

testHideFromLeaderboardOnUserSave (  ) 

test for checking hideFromLeaderboard attribute

Definition at line 1245 of file UserTest.php.

testIsRootUserOnUserSave (  ) 

test for checking hideFromSelecting attribute

Definition at line 1288 of file UserTest.php.

testIsSystemUserAndActiveUserCountOnUserSave (  ) 

test for checking hideFromSelecting attribute

Definition at line 1342 of file UserTest.php.

testGetUsersByEmailAddress (  ) 

test getUsersByEmailAddress

Definition at line 1387 of file UserTest.php.

testGetUsersByPartialFullName (  ) 

test getUsersByPartialFullName

Definition at line 1404 of file UserTest.php.

testNonSystemUsersStateMetadataAdapter (  ) 

Test structure and clauses for NonSystemUsersStateMetadataAdapter

Definition at line 1424 of file UserTest.php.


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