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