|
||||||||||
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.MockTestRunner
public class MockTestRunner
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.eviware.soapui.model.testsuite.TestRunner |
---|
TestRunner.Status |
Constructor Summary | |
---|---|
MockTestRunner(WsdlTestCase testCase)
|
|
MockTestRunner(WsdlTestCase testCase,
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. |
java.util.List<TestStepResult> |
getResults()
Gets the accumulated results so far; each TestStep returns a TestStepResult when running. |
long |
getStartTime()
Returns the time this runner was last started |
TestRunner.Status |
getStatus()
Gets the current status of this TestRunner |
TestCase |
getTestCase()
Gets the TestCase being run |
long |
getTimeTaken()
Returns the time taken by this runner since its last start |
void |
gotoStep(int index)
Transfers execution of this TestRunner to the TestStep with the specified index in the TestCase |
void |
gotoStepByName(java.lang.String stepName)
Transfers execution of this TestRunner to the TestStep with the specified name in the TestCase |
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 MockTestRunner(WsdlTestCase testCase)
public MockTestRunner(WsdlTestCase testCase, org.apache.log4j.Logger logger)
Method Detail |
---|
public org.apache.log4j.Logger getLog()
public TestCase getTestCase()
TestRunner
getTestCase
in interface TestRunner
public java.util.List<TestStepResult> getResults()
TestRunner
getResults
in interface TestRunner
public TestRunner.Status getStatus()
TestRunner
getStatus
in interface TestRunner
public void start(boolean async)
TestRunner
start
in interface TestRunner
async
- flag controlling if TestCase should be run in seperate or callers thread.public long getTimeTaken()
TestRunner
getTimeTaken
in interface TestRunner
public TestRunner.Status waitUntilFinished()
TestRunner
waitUntilFinished
in interface TestRunner
public void cancel(java.lang.String reason)
TestRunner
cancel
in interface TestRunner
public void gotoStep(int index)
TestRunner
gotoStep
in interface TestRunner
public void gotoStepByName(java.lang.String stepName)
TestRunner
gotoStepByName
in interface TestRunner
public void fail(java.lang.String reason)
TestRunner
fail
in interface TestRunner
public long getStartTime()
TestRunner
getStartTime
in interface TestRunner
public 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 |