Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.
 All Data Structures Functions Variables Pages
Public Member Functions | Static Public Member Functions
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 ()
 
 testInactiveUsers ()
 
 testMakeActiveUsersQuerySearchAttributeData ()
 
 testActiveUsers ()
 
 testLogAuditEventsForIsActive ()
 
 testSetMetadata ()
 
- 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)
 

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 Member Functions inherited from ZurmoBaseTest
static startOutputBuffer ()
 
static endAndGetOutputBuffer ()
 
- Static Protected Member Functions inherited from BaseTest
static getProtectedMethod ($className, $methodName)
 
- 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 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 167 of file UserTest.php.

testCreateAndGetUserByIdThatDoesntExist ( )

testCreateAndGetUserById NotFoundException

Definition at line 201 of file UserTest.php.

testGetByUsername ( )

testCreateAndGetUserById

Definition at line 209 of file UserTest.php.

testGetLabel ( )

testGetByUsername

Definition at line 218 of file UserTest.php.

testGetByUsernameForNonExistentUsername ( )

testGetByUsername NotFoundException

Definition at line 229 of file UserTest.php.

testSearchByPartialName ( )

testCreateAndGetUserById

Definition at line 237 of file UserTest.php.

testSearchByPartialNameWithFirstNamePlusPartialLastName ( )

testSearchByPartialName

Definition at line 303 of file UserTest.php.

testCreateWithTitleThenClearTitleDirectly ( )

testCreateAndGetUserById

Definition at line 348 of file UserTest.php.

testCreateWithTitleThenClearTitleWithSetAttributesWithEmptyId ( )

testCreateWithTitleThenClearTitleDirectly

Definition at line 370 of file UserTest.php.

testCreateWithTitleThenClearTitleWithSetAttributesWithNullId ( )

testCreateWithTitleThenClearTitleWithSetAttributesWithEmptyId

Definition at line 393 of file UserTest.php.

testCreateWithTitleThenClearTitleWithSetAttributesWithRealId ( )

testCreateWithTitleThenClearTitleWithSetAttributesWithNullId

Definition at line 416 of file UserTest.php.

testSaveExistingUserWithFakePost ( )

testCreateWithTitleThenClearTitleWithSetAttributesWithRealId testSaveUserWithNoManager

Definition at line 456 of file UserTest.php.

testSaveExistingUserWithUsersIdAsManagerId ( )

testSaveExistingUserWithFakePost

Definition at line 498 of file UserTest.php.

testDeleteUserCascadesToDeleteEverythingItShould ( )

testCreateAndGetUserById

Definition at line 614 of file UserTest.php.

testCanRemoveRoleFromUser ( )

testCreateAndGetUserById

Definition at line 684 of file UserTest.php.

testPasswordUserNamePolicyChangesValidationAndLogin ( )

testCreateAndGetUserById

Definition at line 737 of file UserTest.php.

testUserNamePolicyValidatesCorrectlyOnDifferentScenarios ( )

testPasswordUserNamePolicyChangesValidationAndLogin

Definition at line 880 of file UserTest.php.

testSavingExistingUserDoesntCreateRelatedBlankUsers ( )

testCreateUserWithRelatedUser

Definition at line 949 of file UserTest.php.

testDeleteLastUserInSuperAdministratorsGroup ( )

NotSupportedException

Definition at line 1121 of file UserTest.php.

testIsActiveOnUserSave ( )

test for checking isActive attribute

Definition at line 1137 of file UserTest.php.

testHideFromSelectingOnUserSave ( )

test for checking hideFromSelecting attribute

Definition at line 1230 of file UserTest.php.

testHideFromLeaderboardOnUserSave ( )

test for checking hideFromLeaderboard attribute

Definition at line 1266 of file UserTest.php.

testIsRootUserOnUserSave ( )

test for checking hideFromSelecting attribute

Definition at line 1309 of file UserTest.php.

testIsSystemUserAndActiveUserCountOnUserSave ( )

test for checking hideFromSelecting attribute

Definition at line 1363 of file UserTest.php.

testGetUsersByEmailAddress ( )

test getUsersByEmailAddress

Definition at line 1408 of file UserTest.php.

testGetUsersByPartialFullName ( )

test getUsersByPartialFullName

Definition at line 1425 of file UserTest.php.

testNonSystemUsersStateMetadataAdapter ( )

Test structure and clauses for NonSystemUsersStateMetadataAdapter

Definition at line 1445 of file UserTest.php.


The documentation for this class was generated from the following file:
Generated on Sun Sep 20 2020 07:11:08
Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.