|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.testkit.client.RestApiClient<T>
com.atlassian.jira.testkit.client.BackdoorControl<T>
com.atlassian.jira.functest.framework.backdoor.BackdoorControl<BarrierControl>
com.atlassian.jira.functest.framework.backdoor.BarrierControl
public class BarrierControl
Control for manipulating server-side barriers.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.atlassian.jira.testkit.client.BackdoorControl |
|---|
com.atlassian.jira.testkit.client.BackdoorControl.BackdoorLoggingFilter, com.atlassian.jira.testkit.client.BackdoorControl.JsonMediaTypeFilter |
| Nested classes/interfaces inherited from class com.atlassian.jira.testkit.client.RestApiClient |
|---|
com.atlassian.jira.testkit.client.RestApiClient.Method |
| Field Summary |
|---|
| Fields inherited from class com.atlassian.jira.testkit.client.BackdoorControl |
|---|
API_REST_PATH, API_REST_VERSION, DEFAULT_REST_PATH, logger, rootPath |
| Fields inherited from class com.atlassian.jira.testkit.client.RestApiClient |
|---|
REST_VERSION |
| Constructor Summary | |
|---|---|
BarrierControl(JIRAEnvironmentData environmentData)
|
|
| Method Summary | |
|---|---|
void |
raiseBarrierAndRun(String barrierName,
Runnable r)
Raises the barrier called barrierName and calls the given Runnable before lowering the barrier
again. |
| Methods inherited from class com.atlassian.jira.functest.framework.backdoor.BackdoorControl |
|---|
createResource |
| Methods inherited from class com.atlassian.jira.testkit.client.BackdoorControl |
|---|
createResourceForPath, createResourceForPath, get, getRestModulePath |
| Methods inherited from class com.atlassian.jira.testkit.client.RestApiClient |
|---|
anonymous, createResourceGadget, createResourceInternal, errorResponse, expanded, loginAs, loginAs, percentEncode, resourceRoot, setOf, toResponse, toResponse, toResponse |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BarrierControl(JIRAEnvironmentData environmentData)
| Method Detail |
|---|
public void raiseBarrierAndRun(String barrierName,
Runnable r)
barrierName and calls the given Runnable before lowering the barrier
again. This is useful to test for race conditions in production code.
barrierName - a String containing the barrier namer - a Runnable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||