public class CrowdInstanceHelper
extends org.junit.rules.TestWatcher
Constructor and Description |
---|
CrowdInstanceHelper(String hostPath,
String crowdAppPassword) |
Modifier and Type | Method and Description |
---|---|
void |
disableIncrementalSync(String directoryName) |
RestAdminClient |
getAdminClient() |
ApplicationsRestAdminClient |
getApplicationsAdminClient() |
CrowdClient |
getCrowdClient() |
List<String> |
getGroupMemberGroupNames(String groupName,
long directoryId) |
String |
getHostUrl() |
TestkitClient |
getTestkitClient() |
List<String> |
getUserGroupsNames(String username,
long directoryId) |
List<String> |
getUsernamesInDirectory(long directoryId) |
List<String> |
getUsernamesInGroup(String groupName,
long directoryId) |
void |
intendToModifyData() |
void |
restoreCrowdFromXML(String xmlFile) |
protected void |
starting(org.junit.runner.Description testDescription) |
SynchronisationMode |
synchroniseDirectory(String directoryName) |
SynchronisationMode |
synchroniseDirectory(String directoryName,
Duration maxWaitTime) |
protected void starting(org.junit.runner.Description testDescription)
starting
in class org.junit.rules.TestWatcher
public void restoreCrowdFromXML(String xmlFile)
public void intendToModifyData()
public SynchronisationMode synchroniseDirectory(String directoryName, Duration maxWaitTime)
public SynchronisationMode synchroniseDirectory(String directoryName)
public void disableIncrementalSync(String directoryName)
public List<String> getGroupMemberGroupNames(String groupName, long directoryId)
public RestAdminClient getAdminClient()
public TestkitClient getTestkitClient()
public CrowdClient getCrowdClient()
public ApplicationsRestAdminClient getApplicationsAdminClient()
public String getHostUrl()
Copyright © 2021 Atlassian. All rights reserved.