|
||||||||||
| 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<WsdlTestCase>
com.eviware.soapui.impl.wsdl.panels.support.MockTestRunner
public class MockTestRunner
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 | |
|---|---|
MockTestRunner(WsdlTestCase testCase)
|
|
MockTestRunner(WsdlTestCase testCase,
org.apache.log4j.Logger logger)
|
|
| Method Summary | |
|---|---|
java.util.List<TestStepResult> |
getResults()
Gets the accumulated results so far; each TestStep returns a TestStepResult when running. |
TestCaseRunContext |
getRunContext()
Returns the context used by this runner |
WsdlTestCase |
getTestCase()
Gets the TestCase being run |
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 |
TestStepResult |
runTestStep(TestStep testStep)
|
TestStepResult |
runTestStepByName(java.lang.String name)
Runs the specified TestStep and returns the result |
void |
setMockRunContext(MockTestRunContext mockRunContext)
|
| Methods inherited from class com.eviware.soapui.impl.wsdl.panels.support.AbstractMockTestRunner |
|---|
cancel, fail, getLog, getReason, getStartTime, getStatus, getTestRunnable, getTimeTaken, isRunning, setRunContext, start, waitUntilFinished |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.eviware.soapui.model.testsuite.TestRunner |
|---|
cancel, fail, getReason, getStartTime, getStatus, getTestRunnable, getTimeTaken, isRunning, start, waitUntilFinished |
| Constructor Detail |
|---|
public MockTestRunner(WsdlTestCase testCase)
public MockTestRunner(WsdlTestCase testCase,
org.apache.log4j.Logger logger)
| Method Detail |
|---|
public WsdlTestCase getTestCase()
TestCaseRunner
getTestCase in interface TestCaseRunnerpublic java.util.List<TestStepResult> getResults()
TestCaseRunner
getResults in interface TestCaseRunnerpublic TestCaseRunContext getRunContext()
TestCaseRunner
getRunContext in interface TestCaseRunnergetRunContext in interface TestRunnergetRunContext in class AbstractMockTestRunner<WsdlTestCase>public TestStepResult runTestStep(TestStep testStep)
public TestStepResult runTestStepByName(java.lang.String name)
TestCaseRunner
runTestStepByName in interface TestCaseRunnerpublic void gotoStep(int index)
TestCaseRunner
gotoStep in interface TestCaseRunnerpublic void gotoStepByName(java.lang.String stepName)
TestCaseRunner
gotoStepByName in interface TestCaseRunnerpublic void setMockRunContext(MockTestRunContext mockRunContext)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||