|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.eviware.soapui.impl.wsdl.panels.support.AbstractMockTestRunner<T>
public abstract class AbstractMockTestRunner<T extends TestRunnable>
Dummy TestRunner used when executing TestSteps one by one
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.eviware.soapui.model.testsuite.TestRunner |
|---|
TestRunner.Status |
| Constructor Summary | |
|---|---|
AbstractMockTestRunner(T modelItem,
org.apache.log4j.Logger logger)
|
|
| Method Summary | |
|---|---|
void |
cancel(java.lang.String reason)
Cancels an ongoing test run with the specified reason |
void |
fail(java.lang.String reason)
Fails an ongoing test run with the specified reason |
org.apache.log4j.Logger |
getLog()
|
java.lang.String |
getReason()
Gets the reason why a running test was canceled or failed. |
TestRunContext |
getRunContext()
|
long |
getStartTime()
Returns the time this runner was last started |
TestRunner.Status |
getStatus()
Gets the current status of this TestRunner |
T |
getTestRunnable()
|
long |
getTimeTaken()
Returns the time taken by this runner since its last start |
boolean |
isRunning()
|
void |
setRunContext(TestRunContext context)
|
void |
start(boolean async)
Starts running this TestRunners TestCase. |
TestRunner.Status |
waitUntilFinished()
Blocks until this runner is finished, (returns directly if it already has finished) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractMockTestRunner(T modelItem,
org.apache.log4j.Logger logger)
| Method Detail |
|---|
public boolean isRunning()
isRunning in interface TestRunnerpublic void setRunContext(TestRunContext context)
public TestRunContext getRunContext()
getRunContext in interface TestRunnerpublic org.apache.log4j.Logger getLog()
public T getTestRunnable()
getTestRunnable in interface TestRunnerpublic TestRunner.Status getStatus()
TestRunner
getStatus in interface TestRunnerpublic void start(boolean async)
TestRunner
start in interface TestRunnerasync - flag controlling if TestCase should be run in seperate or
callers thread.public long getTimeTaken()
TestRunner
getTimeTaken in interface TestRunnerpublic TestRunner.Status waitUntilFinished()
TestRunner
waitUntilFinished in interface TestRunnerpublic void cancel(java.lang.String reason)
TestRunner
cancel in interface TestRunnerpublic void fail(java.lang.String reason)
TestRunner
fail in interface TestRunnerpublic long getStartTime()
TestRunner
getStartTime in interface TestRunnerpublic java.lang.String getReason()
TestRunner
getReason in interface TestRunner
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||