public class GroupServiceTests
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
protected Container | 
domainContainer  | 
protected java.lang.String | 
domainUid  | 
| Constructor and Description | 
|---|
GroupServiceTests()  | 
protected Container domainContainer
protected java.lang.String domainUid
public void before()
            throws java.lang.Exception
java.lang.Exceptionpublic void after()
           throws java.lang.Exception
java.lang.Exceptionprotected IGroup getGroupService(SecurityContext context) throws ServerFault
ServerFaultpublic void testCreateGroupAsAdmin()
                            throws ServerFault,
                                   java.lang.InterruptedException,
                                   java.sql.SQLException
ServerFaultjava.lang.InterruptedExceptionjava.sql.SQLExceptionpublic void testCreateGroupCheckVCard()
                               throws ServerFault,
                                      java.lang.InterruptedException,
                                      java.sql.SQLException
ServerFaultjava.lang.InterruptedExceptionjava.sql.SQLExceptionpublic void testCreateGroupNullName()
                             throws ServerFault,
                                    java.lang.InterruptedException,
                                    java.sql.SQLException
ServerFaultjava.lang.InterruptedExceptionjava.sql.SQLExceptionpublic void testCreateGroupEmptyName()
                              throws ServerFault,
                                     java.lang.InterruptedException,
                                     java.sql.SQLException
ServerFaultjava.lang.InterruptedExceptionjava.sql.SQLExceptionpublic void testUpdateGroupNullName()
                             throws ServerFault,
                                    java.lang.InterruptedException,
                                    java.sql.SQLException
ServerFaultjava.lang.InterruptedExceptionjava.sql.SQLExceptionpublic void testUpdateGroupEmptyName()
                              throws ServerFault,
                                     java.lang.InterruptedException,
                                     java.sql.SQLException
ServerFaultjava.lang.InterruptedExceptionjava.sql.SQLExceptionpublic void testCreateNullUid()
                       throws ServerFault,
                              java.lang.InterruptedException,
                              java.sql.SQLException
ServerFaultjava.lang.InterruptedExceptionjava.sql.SQLExceptionpublic void testCreateEmptyUid()
                        throws ServerFault,
                               java.lang.InterruptedException,
                               java.sql.SQLException
ServerFaultjava.lang.InterruptedExceptionjava.sql.SQLExceptionpublic void testCreateEmptyExtId()
                          throws ServerFault,
                                 java.lang.InterruptedException,
                                 java.sql.SQLException
ServerFaultjava.lang.InterruptedExceptionjava.sql.SQLExceptionpublic void testCreateNullGroup()
                         throws ServerFault,
                                java.lang.InterruptedException,
                                java.sql.SQLException
ServerFaultjava.lang.InterruptedExceptionjava.sql.SQLExceptionpublic void testUpdateNullUid()
                       throws ServerFault,
                              java.lang.InterruptedException,
                              java.sql.SQLException
ServerFaultjava.lang.InterruptedExceptionjava.sql.SQLExceptionpublic void testUpdateEmptyUid()
                        throws ServerFault,
                               java.lang.InterruptedException,
                               java.sql.SQLException
ServerFaultjava.lang.InterruptedExceptionjava.sql.SQLExceptionpublic void testUpdateNullGroup()
                         throws ServerFault,
                                java.lang.InterruptedException,
                                java.sql.SQLException
ServerFaultjava.lang.InterruptedExceptionjava.sql.SQLExceptionpublic void testGetCompleteNullUid()
                            throws ServerFault,
                                   java.lang.InterruptedException,
                                   java.sql.SQLException
ServerFaultjava.lang.InterruptedExceptionjava.sql.SQLExceptionpublic void testGetCompleteEmptyUid()
                             throws ServerFault,
                                    java.lang.InterruptedException,
                                    java.sql.SQLException
ServerFaultjava.lang.InterruptedExceptionjava.sql.SQLExceptionpublic void testDeleteNullUid()
                       throws ServerFault,
                              java.lang.InterruptedException,
                              java.sql.SQLException
ServerFaultjava.lang.InterruptedExceptionjava.sql.SQLExceptionpublic void testDeleteEmptyUid()
                        throws ServerFault,
                               java.lang.InterruptedException,
                               java.sql.SQLException
ServerFaultjava.lang.InterruptedExceptionjava.sql.SQLExceptionpublic void testGetByExtIdNullUid()
                           throws ServerFault,
                                  java.lang.InterruptedException,
                                  java.sql.SQLException
ServerFaultjava.lang.InterruptedExceptionjava.sql.SQLExceptionpublic void testGetByExtIdEmptyUid()
                            throws ServerFault,
                                   java.lang.InterruptedException,
                                   java.sql.SQLException
ServerFaultjava.lang.InterruptedExceptionjava.sql.SQLExceptionpublic void testAddMemberNullUid()
                          throws ServerFault,
                                 java.lang.InterruptedException,
                                 java.sql.SQLException
ServerFaultjava.lang.InterruptedExceptionjava.sql.SQLExceptionpublic void testAddMemberEmptyUid()
                           throws ServerFault,
                                  java.lang.InterruptedException,
                                  java.sql.SQLException
ServerFaultjava.lang.InterruptedExceptionjava.sql.SQLExceptionpublic void testUpdateInexistantGroup()
                               throws ServerFault
ServerFaultpublic void testAddMemberInexistantGroup()
                                  throws ServerFault
ServerFaultpublic void testGetMembersNullUid()
                           throws ServerFault,
                                  java.lang.InterruptedException,
                                  java.sql.SQLException
ServerFaultjava.lang.InterruptedExceptionjava.sql.SQLExceptionpublic void testGetMembersEmptyUid()
                            throws ServerFault,
                                   java.lang.InterruptedException,
                                   java.sql.SQLException
ServerFaultjava.lang.InterruptedExceptionjava.sql.SQLExceptionpublic void testGetMembersInexistantGroup()
                                   throws ServerFault
ServerFaultpublic void testGetExpandedUsersMembersNullUid()
                                        throws ServerFault,
                                               java.lang.InterruptedException,
                                               java.sql.SQLException
ServerFaultjava.lang.InterruptedExceptionjava.sql.SQLExceptionpublic void testGetExpandedUsersMembersEmptyUid()
                                         throws ServerFault,
                                                java.lang.InterruptedException,
                                                java.sql.SQLException
ServerFaultjava.lang.InterruptedExceptionjava.sql.SQLExceptionpublic void testGetExpandedUsersMembersInexistantGroup()
                                                throws ServerFault
ServerFaultpublic void testRemoveMembersNullUid()
                              throws ServerFault,
                                     java.lang.InterruptedException,
                                     java.sql.SQLException
ServerFaultjava.lang.InterruptedExceptionjava.sql.SQLExceptionpublic void testRemoveMembersEmptyUid()
                               throws ServerFault,
                                      java.lang.InterruptedException,
                                      java.sql.SQLException
ServerFaultjava.lang.InterruptedExceptionjava.sql.SQLExceptionpublic void testRemoveMembersInexistantGroup()
                                      throws ServerFault
ServerFaultpublic void testCreateGroupWithExtId()
                              throws ServerFault,
                                     java.lang.InterruptedException,
                                     java.sql.SQLException
ServerFaultjava.lang.InterruptedExceptionjava.sql.SQLExceptionpublic void testCreateGroupAsUser()
                           throws ServerFault,
                                  java.lang.InterruptedException,
                                  java.sql.SQLException
ServerFaultjava.lang.InterruptedExceptionjava.sql.SQLExceptionpublic void testUpdateGroupAsAdmin()
                            throws ServerFault,
                                   java.lang.InterruptedException,
                                   java.sql.SQLException
ServerFaultjava.lang.InterruptedExceptionjava.sql.SQLExceptionpublic void testUpdateGroupCheckVCard()
                               throws ServerFault,
                                      java.lang.InterruptedException,
                                      java.sql.SQLException
ServerFaultjava.lang.InterruptedExceptionjava.sql.SQLExceptionpublic void testUpdateGroupAsUser()
                           throws ServerFault,
                                  java.lang.InterruptedException,
                                  java.sql.SQLException
ServerFaultjava.lang.InterruptedExceptionjava.sql.SQLExceptionpublic void testDeleteGroupAsAdmin()
                            throws ServerFault,
                                   java.lang.InterruptedException,
                                   java.sql.SQLException
ServerFaultjava.lang.InterruptedExceptionjava.sql.SQLExceptionpublic void testDeleteGroupAsUser()
                           throws ServerFault,
                                  java.lang.InterruptedException,
                                  java.sql.SQLException
ServerFaultjava.lang.InterruptedExceptionjava.sql.SQLExceptionpublic void testAddMembersAsAdmin()
                           throws ServerFault,
                                  java.sql.SQLException
ServerFaultjava.sql.SQLExceptionpublic void testAddDeleteMembersShouldKeepVCardEmails()
                                               throws ServerFault,
                                                      java.sql.SQLException
ServerFaultjava.sql.SQLExceptionpublic void testAddMembersDuplicate()
                             throws ServerFault,
                                    java.sql.SQLException
ServerFaultjava.sql.SQLExceptionpublic void testAddMembersAsUser()
                          throws ServerFault,
                                 java.sql.SQLException
ServerFaultjava.sql.SQLExceptionpublic void testRemoveMemberAsAdmin()
                             throws java.lang.Exception
java.lang.Exceptionpublic void testRemoveMemberAsUser()
                            throws ServerFault,
                                   java.sql.SQLException
ServerFaultjava.sql.SQLExceptionpublic void testGetExpandedUsersMembers()
                                 throws ServerFault,
                                        java.sql.SQLException
ServerFaultjava.sql.SQLExceptionpublic void testAddMembersGroupLoop()
                             throws ServerFault,
                                    java.sql.SQLException
ServerFaultjava.sql.SQLExceptionpublic void testAddMeToMyself()
                       throws ServerFault,
                              java.sql.SQLException
ServerFaultjava.sql.SQLExceptionpublic void testAddMembersToProfileGroup()
                                  throws java.lang.Exception
java.lang.Exceptionpublic void testCreateWithSameName()
                            throws ServerFault,
                                   java.sql.SQLException
ServerFaultjava.sql.SQLExceptionpublic void testUpdateWithSameName()
                            throws ServerFault,
                                   java.sql.SQLException
ServerFaultjava.sql.SQLExceptionpublic void testByEmail()
                 throws ServerFault,
                        java.sql.SQLException
ServerFaultjava.sql.SQLExceptionpublic void testByName()
                throws ServerFault,
                       java.sql.SQLException
ServerFaultjava.sql.SQLExceptionpublic void testAddMemberUserFromOtherContainer()
                                         throws ServerFault,
                                                java.sql.SQLException
ServerFaultjava.sql.SQLExceptionpublic void testAddMemberInvalidMember1()
                                 throws ServerFault,
                                        java.sql.SQLException
ServerFaultjava.sql.SQLExceptionpublic void testAddMemberInvalidMember2()
                                 throws ServerFault,
                                        java.sql.SQLException
ServerFaultjava.sql.SQLExceptionpublic void testAddMemberInvalidMember3()
                                 throws ServerFault,
                                        java.sql.SQLException
ServerFaultjava.sql.SQLExceptionpublic void testAddMemberGroupFromOtherContainer()
                                          throws ServerFault,
                                                 java.sql.SQLException
ServerFaultjava.sql.SQLExceptionpublic void groupWithNoMailbox()
                        throws ServerFault,
                               java.sql.SQLException
ServerFaultjava.sql.SQLExceptionpublic void testCreateWithSameNameDifferentContainer()
                                              throws ServerFault,
                                                     java.sql.SQLException
ServerFaultjava.sql.SQLExceptionpublic void testCreateGroupsWithSameEmail()
                                   throws ServerFault,
                                          java.sql.SQLException
ServerFaultjava.sql.SQLExceptionpublic void testCreateGroupsWithEmailToSanitize()
                                         throws ServerFault,
                                                java.sql.SQLException
ServerFaultjava.sql.SQLExceptionpublic void testCreateGroupsWithInvalidEmail()
                                      throws ServerFault,
                                             java.sql.SQLException
ServerFaultjava.sql.SQLExceptionpublic void testCreateGroupWithMailArchivedNullDataLocation()
public void testUpdateGroupWithMailArchivedNullDataLocation()
                                                     throws ServerFault
ServerFaultpublic void testCreateGroupWithMailArchivedEmptyDataLocation()
public void testUpdateGroupWithMailArchivedEmptyDataLocation()
                                                      throws ServerFault
ServerFaultpublic void testCreateGroupWithMailArchivedBlankEmptyDataLocation()
public void testUpdateGroupWithMailArchivedBlankEmptyDataLocation()
                                                           throws ServerFault
ServerFaultpublic void testCreateGroupWithMailArchivedInvalidDataLocation()
public void testUpdateGroupWithMailArchivedInvalidDataLocation()
                                                        throws ServerFault
ServerFaultpublic void testCreateGroupWithMailArchivedDataLocationNotImapServer()
public void testUpdateGroupWithMailArchivedDataLocationNotImapServer()
                                                              throws ServerFault
ServerFaultpublic void testCreateGroupWithMailArchivedDataLocationNotAssigned()
public void testUpdateGroupWithMailArchivedDataLocationNotAssigned()
                                                            throws ServerFault
ServerFaultpublic void testCreateGroupWithMailArchived()
                                     throws ServerFault
ServerFaultpublic void testUpdateGroupWithMailArchived()
                                     throws ServerFault
ServerFaultpublic void testUpdateGroupsWithEmailToSanitize()
                                         throws ServerFault,
                                                java.sql.SQLException
ServerFaultjava.sql.SQLExceptionpublic void testUpdateGroupsWithInvalidEmail()
                                      throws ServerFault,
                                             java.sql.SQLException
ServerFaultjava.sql.SQLExceptionpublic void testUpdateGroupsWithSameEmail()
                                   throws ServerFault,
                                          java.sql.SQLException
ServerFaultjava.sql.SQLExceptionpublic void testGetParentsNullUid()
                           throws ServerFault,
                                  java.lang.InterruptedException,
                                  java.sql.SQLException
ServerFaultjava.lang.InterruptedExceptionjava.sql.SQLExceptionpublic void testGetParentsEmptyUid()
                            throws ServerFault,
                                   java.lang.InterruptedException,
                                   java.sql.SQLException
ServerFaultjava.lang.InterruptedExceptionjava.sql.SQLExceptionpublic void testGetParentsInexistantGroup()
                                   throws ServerFault
ServerFaultpublic void testGetParentsExistantGroup()
                                 throws ServerFault,
                                        java.sql.SQLException
ServerFaultjava.sql.SQLExceptionpublic void testGetParents()
                    throws ServerFault,
                           java.sql.SQLException
ServerFaultjava.sql.SQLExceptionpublic void testCustomProperties()
                          throws ServerFault
ServerFaultpublic void testRoles()
               throws ServerFault
ServerFaultpublic void testVCardWithArchivedMember()
                                 throws ServerFault,
                                        java.lang.InterruptedException,
                                        java.sql.SQLException
ServerFaultjava.lang.InterruptedExceptionjava.sql.SQLExceptionpublic void testGroupVCardNote()
                        throws ServerFault
ServerFaultpublic void testSearchProfileGroups()
Copyright © 2021. All Rights Reserved.