Class CrowdInstanceHelper
java.lang.Object
org.junit.rules.TestWatcher
com.atlassian.crowd.acceptance.tests.synchronisation.remote.CrowdInstanceHelper
- All Implemented Interfaces:
org.junit.rules.TestRule
public class CrowdInstanceHelper
extends org.junit.rules.TestWatcher
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetGroupMemberGroupNames
(String groupName, long directoryId) getUserGroupsNames
(String username, long directoryId) getUsernamesInDirectory
(long directoryId) getUsernamesInGroup
(String groupName, long directoryId) void
incrementalSync
(long directoryId, boolean enable) void
restoreCrowdFromXML
(String xmlFile) protected void
starting
(org.junit.runner.Description testDescription) synchroniseDirectory
(String directoryName) synchroniseDirectory
(String directoryName, Duration maxWaitTime) synchroniseDirectoryGetInfo
(String directoryName) synchroniseDirectoryGetInfo
(String directoryName, Duration maxWaitTime) Methods inherited from class org.junit.rules.TestWatcher
apply, failed, finished, skipped, skipped, succeeded
-
Constructor Details
-
CrowdInstanceHelper
-
-
Method Details
-
starting
protected void starting(org.junit.runner.Description testDescription) - Overrides:
starting
in classorg.junit.rules.TestWatcher
-
restoreCrowdFromXML
-
synchroniseDirectory
-
synchroniseDirectory
-
synchroniseDirectoryGetInfo
-
synchroniseDirectoryGetInfo
public DbCachingTestHelper.SyncInfo synchroniseDirectoryGetInfo(String directoryName, Duration maxWaitTime) -
incrementalSync
public void incrementalSync(long directoryId, boolean enable) -
getGroupMemberGroupNames
-
getUsernamesInGroup
-
getAdminClient
-
getTestkitClient
-
getCrowdClient
-
getApplicationsAdminClient
-
getHostUrl
-
getUsernamesInDirectory
-
getUserGroupsNames
-