public class AsynchronousTasks extends Object
Constructor and Description |
---|
AsynchronousTasks(net.sourceforge.jwebunit.WebTester tester,
JIRAEnvironmentData environmentData) |
AsynchronousTasks(net.sourceforge.jwebunit.WebTester tester,
JIRAEnvironmentData environmentData,
int logIndentLevel) |
Modifier and Type | Method and Description |
---|---|
void |
waitForSuccessfulCompletion(long sleepTime,
int retryCount,
String operationName)
Waits for an asynchronous action to complete and acknowledges the result on completion
|
public AsynchronousTasks(net.sourceforge.jwebunit.WebTester tester, JIRAEnvironmentData environmentData, int logIndentLevel)
@Inject public AsynchronousTasks(net.sourceforge.jwebunit.WebTester tester, JIRAEnvironmentData environmentData)
public void waitForSuccessfulCompletion(long sleepTime, int retryCount, String operationName)
sleepTime
- The time to sleep before refreshing the page again and checking for the operation to
be finished.retryCount
- The number of times we will try to check for the operation to be finished.operationName
- The name of the operation that we are checking. Only used for printing messages.Copyright © 2002-2022 Atlassian. All Rights Reserved.