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 beforeClass()
public void before()
            throws java.lang.Exception
java.lang.Exceptionpublic void after()
           throws java.lang.Exception
java.lang.Exceptionprotected IUser getService(SecurityContext context) throws ServerFault
ServerFaultpublic void testBMHiddenSysadmin()
                          throws ServerFault
ServerFaultpublic void testCreate()
                throws ServerFault,
                       java.sql.SQLException
ServerFaultjava.sql.SQLExceptionpublic void testRestoreCreate()
                       throws ServerFault,
                              java.sql.SQLException,
                              java.text.ParseException
ServerFaultjava.sql.SQLExceptionjava.text.ParseExceptionpublic void testCreateShouldapplyDefaultUserQuota()
                                           throws ServerFault
ServerFaultpublic void testCreateWithExtId()
                         throws ServerFault,
                                java.sql.SQLException
ServerFaultjava.sql.SQLExceptionpublic void testVCard()
               throws ServerFault,
                      java.lang.InterruptedException,
                      java.sql.SQLException
ServerFaultjava.lang.InterruptedExceptionjava.sql.SQLExceptionpublic void testCreateMaxReached()
                          throws ServerFault,
                                 java.lang.InterruptedException,
                                 java.sql.SQLException
ServerFaultjava.lang.InterruptedExceptionjava.sql.SQLExceptionpublic void testFilterArchivedUsersFromSearch()
                                       throws java.lang.Exception
java.lang.Exceptionpublic void testCreate_Roles()
                      throws java.lang.Exception
java.lang.Exceptionpublic void testRestoreUpdate()
                       throws ServerFault,
                              java.sql.SQLException,
                              java.text.ParseException
ServerFaultjava.sql.SQLExceptionjava.text.ParseExceptionpublic void testUpdate()
                throws ServerFault,
                       java.sql.SQLException
ServerFaultjava.sql.SQLExceptionpublic void testUpdateUserNameCheckContainers()
                                       throws ServerFault,
                                              java.sql.SQLException
ServerFaultjava.sql.SQLExceptionpublic void testUpdate_Sec()
                    throws java.lang.Exception
java.lang.Exceptionpublic void testUpdating_UsingExternalRoutingWithInvalidSplitRelay_ShouldFail()
                                                                       throws java.lang.Exception
java.lang.Exceptionpublic void testCreating_UsingExternalRoutingWithInvalidSplitRelay_ShouldFail()
                                                                       throws java.lang.Exception
java.lang.Exceptionpublic void testUpdateMaintainsPassword()
                                 throws ServerFault,
                                        java.sql.SQLException
ServerFaultjava.sql.SQLExceptionpublic void testAddingANewUserShouldUsePBKDF2Algorithm()
                                                throws java.lang.Exception
java.lang.Exceptionpublic void testAddingANewUserWithKnownAlgorithmShouldKeepIt()
                                                      throws java.lang.Exception
java.lang.Exceptionpublic void testUpdatingPasswordShouldUsePBKDF2Algorithm()
                                                  throws java.lang.Exception
java.lang.Exceptionpublic void testUpdatingPasswordWithKnownHashShouldKeepIt()
                                                   throws java.lang.Exception
java.lang.Exceptionpublic void testASuccessfulCheckforThePasswordShouldUpdateHashIfNecessary()
                                                                   throws java.lang.Exception
java.lang.Exceptionpublic void testValidateUsingExistingValuesShouldSucceed()
                                                  throws ServerFault,
                                                         java.sql.SQLException
ServerFaultjava.sql.SQLExceptionpublic void testValidateUsingAnNonExistingValueShouldFail()
                                                   throws ServerFault,
                                                          java.sql.SQLException
ServerFaultjava.sql.SQLExceptionpublic void testDelete()
                throws java.lang.Exception
java.lang.Exceptionpublic void testDeletingAnUserDeletesAllSubscriptions()
                                               throws java.lang.Exception
java.lang.Exceptionpublic void testDelete_Sec()
                    throws java.lang.Exception
java.lang.Exceptionpublic void testGetComplete()
                     throws ServerFault
ServerFaultpublic void testGetComplete_Sec()
                         throws java.lang.Exception
java.lang.Exceptionpublic void testGetComplete_Self()
                          throws java.lang.Exception
java.lang.Exceptionpublic void testByEmail()
                 throws ServerFault,
                        java.sql.SQLException
ServerFaultjava.sql.SQLExceptionpublic void testByExtId()
                 throws ServerFault,
                        java.sql.SQLException
ServerFaultjava.sql.SQLExceptionpublic void testByInvalidExtId()
                        throws ServerFault,
                               java.sql.SQLException
ServerFaultjava.sql.SQLExceptionpublic void testByLogin()
                 throws ServerFault,
                        java.sql.SQLException
ServerFaultjava.sql.SQLExceptionpublic void testMemberOf()
                  throws ServerFault,
                         java.sql.SQLException
ServerFaultjava.sql.SQLExceptionpublic void testMemberOfInvalidUser()
                             throws ServerFault
ServerFaultpublic void testSetRoles()
                  throws ServerFault
ServerFaultpublic void testCustomProperties()
                          throws ServerFault
ServerFaultpublic TaskStatus waitEnd(TaskRef ref) throws java.lang.Exception
java.lang.Exceptionpublic void testDeleteAdmin0()
                      throws java.lang.Exception
java.lang.Exceptionpublic void testSetPassword()
                     throws java.lang.Exception
java.lang.Exceptionpublic void passwordUpdateNeeded()
                          throws java.sql.SQLException
java.sql.SQLExceptionpublic void testCheckPassword()
public void testCheckPassword_invalidLogin()
public void testCheckPassword_invalidPassword()
public void testSetPassword_Sec()
                         throws java.lang.Exception
java.lang.Exceptionpublic void testCreateInvalidPassword()
                               throws ServerFault,
                                      java.lang.InterruptedException,
                                      java.sql.SQLException
ServerFaultjava.lang.InterruptedExceptionjava.sql.SQLExceptionpublic void testCreateNullPassword()
                            throws ServerFault,
                                   java.lang.InterruptedException,
                                   java.sql.SQLException
ServerFaultjava.lang.InterruptedExceptionjava.sql.SQLExceptionpublic void testDeleteMyself()
                      throws java.lang.Exception
java.lang.Exceptionpublic void testSetPassword_ExternalUser_Forbidden()
public void testSetPassword_newPasswordNotEqualToCurrentPassword()
public void testSetPassword_nullNewPassword()
public void testDefaultAccountType()
                            throws java.lang.Exception
java.lang.Exceptionpublic void testUpdateAccountType()
                           throws java.lang.Exception
java.lang.Exceptionpublic void testUpdateAccountType_fullToFullvisio()
                                           throws java.lang.Exception
java.lang.Exceptionpublic void testSimpleAccount_setRoles()
public void testSimpleAccount_getRoles()
public void testUpdateOnlyVCardShouldPreserveVCardSourceField()
public void deletePhoto_userWithoutPhoto()
public void deletePhoto_userWithPhoto()
                               throws java.io.IOException
java.io.IOExceptionpublic void testUpdatePasswordMustChange()
                                  throws ServerFault,
                                         java.sql.SQLException
ServerFaultjava.sql.SQLExceptionpublic void testUpdatePasswordNeverExpire()
                                   throws ServerFault,
                                          java.sql.SQLException
ServerFaultjava.sql.SQLExceptionpublic void testUserWithMailroutingNone_No_Email()
public void testUserWithMailroutingNull_No_Email()
public void testUserWithMailroutingNone_Internal_Email()
public void testUserWithMailroutingNone_External_Email()
public void testUserWithMailroutingNone_Internal_External_Emails()
Copyright © 2023. All Rights Reserved.