Class Overview
Control for manipulating server-side barriers.
Summary
[Expand]
Inherited Constants |
From class
com.atlassian.jira.testkit.client.BackdoorControl
|
From class
com.atlassian.jira.testkit.client.RestApiClient
|
[Expand]
Inherited Fields |
From class
com.atlassian.jira.testkit.client.BackdoorControl
protected
final
FuncTestLogger |
logger |
|
protected
final
String |
rootPath |
|
|
Public Constructors |
|
BarrierControl(JIRAEnvironmentData environmentData)
|
Public Methods |
void
|
raiseBarrierAndRun(String barrierName, Runnable r)
Raises the barrier called barrierName and calls the given Runnable before lowering the barrier
again.
|
[Expand]
Inherited Methods |
From class
com.atlassian.jira.functest.framework.backdoor.BackdoorControl
|
From class
com.atlassian.jira.testkit.client.BackdoorControl
WebResource
|
createResource()
|
final
WebResource
|
createResourceForPath(String arg0, String arg1)
|
final
WebResource
|
createResourceForPath(String arg0)
|
final
String
|
get(WebResource arg0)
|
String
|
getRestModulePath()
|
|
From class
com.atlassian.jira.testkit.client.RestApiClient
T
|
anonymous()
|
WebResource
|
createResource()
|
WebResource
|
createResourceGadget()
|
WebResource
|
createResourceInternal()
|
<T>
Response<T>
|
errorResponse(ClientResponse arg0)
|
WebResource
|
expanded(WebResource arg0, EnumSet<?> arg1)
|
T
|
loginAs(String arg0, String arg1)
|
T
|
loginAs(String arg0)
|
static
String
|
percentEncode(String arg0)
|
WebResource
|
resourceRoot(String arg0)
|
static
<E extends Enum<E>>
EnumSet<E>
|
setOf(Class<E> arg0, E... arg1)
|
Response<?>
|
toResponse(RestApiClient.Method arg0)
|
<T>
Response<T>
|
toResponse(RestApiClient.Method arg0, GenericType<T> arg1)
|
<T>
Response<T>
|
toResponse(RestApiClient.Method arg0, Class<T> arg1)
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
public
BarrierControl
(JIRAEnvironmentData environmentData)
Public Methods
public
void
raiseBarrierAndRun
(String barrierName, Runnable r)
Raises the barrier called barrierName
and calls the given Runnable
before lowering the barrier
again. This is useful to test for race conditions in production code.
Parameters
barrierName
| a String containing the barrier name |
r
| a Runnable
|