public class UserServiceTests
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
domainUid |
protected Container |
userContainer |
Constructor and Description |
---|
UserServiceTests() |
protected java.lang.String domainUid
protected Container userContainer
public static void oneShotBefore()
public void before() throws java.lang.Exception
java.lang.Exception
public void after() throws java.lang.Exception
java.lang.Exception
protected IUser getService(SecurityContext context) throws ServerFault
ServerFault
public void testBMHiddenSysadmin() throws ServerFault
ServerFault
public void testCreate() throws ServerFault, java.lang.InterruptedException, java.sql.SQLException
ServerFault
java.lang.InterruptedException
java.sql.SQLException
public void testCreateShouldapplyDefaultUserQuota() throws ServerFault, java.lang.InterruptedException, java.sql.SQLException
ServerFault
java.lang.InterruptedException
java.sql.SQLException
public void testCreateWithExtId() throws ServerFault, java.lang.InterruptedException, java.sql.SQLException
ServerFault
java.lang.InterruptedException
java.sql.SQLException
public void testVCard() throws ServerFault, java.lang.InterruptedException, java.sql.SQLException
ServerFault
java.lang.InterruptedException
java.sql.SQLException
public void testCreateMaxReached() throws ServerFault, java.lang.InterruptedException, java.sql.SQLException
ServerFault
java.lang.InterruptedException
java.sql.SQLException
public void testFilterArchivedUsersFromSearch() throws java.lang.Exception
java.lang.Exception
public void testCreate_Roles() throws java.lang.Exception
java.lang.Exception
public void testUpdate() throws ServerFault, java.sql.SQLException
ServerFault
java.sql.SQLException
public void testUpdate_Sec() throws java.lang.Exception
java.lang.Exception
public void testUpdating_UsingExternalRoutingWithInvalidSplitRelay_ShouldFail() throws java.lang.Exception
java.lang.Exception
public void testUpdateMaintainsPassword() throws ServerFault, java.sql.SQLException
ServerFault
java.sql.SQLException
public void testAddingANewUserShouldUsePBKDF2Algorithm() throws java.lang.Exception
java.lang.Exception
public void testUpdatingPasswordShouldUsePBKDF2Algorithm() throws java.lang.Exception
java.lang.Exception
public void testASuccessfulCheckforThePasswordShouldUpdateHashIfNecessary() throws java.lang.Exception
java.lang.Exception
public void testValidateUsingExistingValuesShouldSucceed() throws ServerFault, java.sql.SQLException
ServerFault
java.sql.SQLException
public void testValidateUsingAnNonExistingValueShouldFail() throws ServerFault, java.sql.SQLException
ServerFault
java.sql.SQLException
public void testDelete() throws java.lang.Exception
java.lang.Exception
public void testDeletingAnUserDeletesAllSubscriptions() throws java.lang.Exception
java.lang.Exception
public void testDelete_Sec() throws java.lang.Exception
java.lang.Exception
public void testGetComplete() throws ServerFault
ServerFault
public void testGetComplete_Sec() throws java.lang.Exception
java.lang.Exception
public void testGetComplete_Self() throws java.lang.Exception
java.lang.Exception
public void testByEmail() throws ServerFault, java.sql.SQLException
ServerFault
java.sql.SQLException
public void testByExtId() throws ServerFault, java.sql.SQLException
ServerFault
java.sql.SQLException
public void testByInvalidExtId() throws ServerFault, java.sql.SQLException
ServerFault
java.sql.SQLException
public void testByLogin() throws ServerFault, java.sql.SQLException
ServerFault
java.sql.SQLException
public void testMemberOf() throws ServerFault, java.sql.SQLException
ServerFault
java.sql.SQLException
public void testMemberOfInvalidUser() throws ServerFault
ServerFault
public void testSetRoles() throws ServerFault
ServerFault
public void testCustomProperties() throws ServerFault
ServerFault
public void testCheckAndRepairDefaultCalendar() throws java.lang.Exception
java.lang.Exception
public void testCheckAndRepairFH() throws java.lang.Exception
java.lang.Exception
public TaskStatus waitEnd(TaskRef ref) throws java.lang.Exception
java.lang.Exception
public void testDeleteAdmin0() throws java.lang.Exception
java.lang.Exception
public void testSetPassword() throws java.lang.Exception
java.lang.Exception
public void passwordUpdateNeeded() throws java.sql.SQLException
java.sql.SQLException
public void testCheckPassword()
public void testCheckPassword_invalidLogin()
public void testCheckPassword_invalidPassword()
public void testSetPassword_Sec() throws java.lang.Exception
java.lang.Exception
public void testCreateInvalidPassword() throws ServerFault, java.lang.InterruptedException, java.sql.SQLException
ServerFault
java.lang.InterruptedException
java.sql.SQLException
public void testCreateNullPassword() throws ServerFault, java.lang.InterruptedException, java.sql.SQLException
ServerFault
java.lang.InterruptedException
java.sql.SQLException
public void testDeleteMyself() throws java.lang.Exception
java.lang.Exception
public void checkAndRepairDefaultFolder() throws java.lang.Exception
java.lang.Exception
public void testSetPassword_ExternalUser_Forbidden()
public void testSetPassword_newPasswordNotEqualToCurrentPassword()
public void testSetPassword_nullNewPassword()
public void testDefaultAccountType() throws java.lang.Exception
java.lang.Exception
public void testUpdateAccountType() throws java.lang.Exception
java.lang.Exception
public void testSimpleAccount_setRoles()
public void testSimpleAccount_getRoles()
public void testUpdateOnlyVCardShouldPreserveVCardSourceField()
public void deletePhoto_userWithoutPhoto()
public void deletePhoto_userWithPhoto() throws java.io.IOException
java.io.IOException
public void testUpdatePasswordMustChange() throws ServerFault, java.sql.SQLException
ServerFault
java.sql.SQLException
public void testUpdatePasswordNeverExpire() throws ServerFault, java.sql.SQLException
ServerFault
java.sql.SQLException
Copyright © 2021. All Rights Reserved.