Class SynchroniseCrowdDirectoryRemoveUserMembershipTest
java.lang.Object
com.atlassian.crowd.acceptance.tests.synchronisation.remote.BaseSynchroniseCrowdDirectoryTest
com.atlassian.crowd.acceptance.tests.synchronisation.remote.SynchroniseCrowdDirectoryRemoveUserMembershipTest
public class SynchroniseCrowdDirectoryRemoveUserMembershipTest
extends BaseSynchroniseCrowdDirectoryTest
-
Field Summary
Fields inherited from class com.atlassian.crowd.acceptance.tests.synchronisation.remote.BaseSynchroniseCrowdDirectoryTest
allowDuplicatedExternalIds, APPLICATION_NAME, batchedCrowdTest, CROWD_APP_PASSWORD, crowd1, crowd2, enableDeleteUserMembershipBatchingImprovement, enableIncrementalSyncEventsImprovements, enableMembershipIterationImprovement, enableNestedGroupsGroupMembershipChangesBatchingImprovement, LOCAL_DIRECTORY_ID, LOCAL_DIRECTORY_NAME, LOOP_APPLICATION_ID, REMOTE_DIRECTORY1_ID, REMOTE_DIRECTORY1_NAME, REMOTE_DIRECTORY2_ID, REMOTE_DIRECTORY2_NAME, REMOTE_DIRECTORY3_ID, runConditionallyRule, synchronisationMode
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
void
This tests demonstrates that a failed incremental synchronisation falls back to a full synchronisation in the first attempt (CWD-3188).Methods inherited from class com.atlassian.crowd.acceptance.tests.synchronisation.remote.BaseSynchroniseCrowdDirectoryTest
allowDuplicatedExternalIds, deleteUserInRemoteDir1, deleteUserInRemoteDir2, doInitialSync, findApplicationByName, findLocalUserByName, findLocalUserByNameOrFail, findLocalUserByNameOrFail, findLocalUsers, findUserByName, getCrowdClient1, getCrowdClient2, getExpectedMode, getLocalGroupNames, getLocalUserNames, isDc, parameters, restoreCrowds, restoreCrowds, runWithAllowDuplicatedExternalIdsRule, runWithDeleteUserMembershipsBatchingRule, runWithMembershipSyncImprovementRule, runWithNestedGroupsGroupMembershipChangesBatchingRule, runWithRecreatedMembershipsBatchingRule, searchLocalGroups, setUp, syncAndAssertMode, syncAndAssertMode, updateApplication
-
Constructor Details
-
SynchroniseCrowdDirectoryRemoveUserMembershipTest
public SynchroniseCrowdDirectoryRemoveUserMembershipTest()
-
-
Method Details
-
synchroniseChanges_RemoveUniqueRemoteUserMembership
- Throws:
Exception
-
synchroniseChanges_RemoveMultipleRemoteUserMemberships
public void synchroniseChanges_RemoveMultipleRemoteUserMemberships() -
synchroniseChanges_RemoveUniqueRemoteUserMembershipAndRecreateUniqueRemoteUserMembership
public void synchroniseChanges_RemoveUniqueRemoteUserMembershipAndRecreateUniqueRemoteUserMembership() throws ExceptionThis tests demonstrates that a failed incremental synchronisation falls back to a full synchronisation in the first attempt (CWD-3188). It exploits the bug in CWD-3182 to cause the incremental synchronisation to fail, but it won't work once CWD-3182 is fixed. Once that happens, the assertions at the end of the test will require some changes, but the test should be kept to prevent regressions of CWD-3182.This test is overridden by the subclass because it is only relevant to incremental synchronisation.
- Throws:
Exception
-
synchroniseChanges_RemoveMaskingUserMembership
- Throws:
Exception
-
synchroniseChanges_RemoveMaskedUserMembership
- Throws:
Exception
-