public class MockTestRunner extends AbstractMockTestRunner<WsdlTestCase> implements TestCaseRunner
TestRunner.Status
Constructor and Description |
---|
MockTestRunner(WsdlTestCase testCase) |
MockTestRunner(WsdlTestCase testCase,
org.apache.log4j.Logger logger) |
Modifier and Type | Method and Description |
---|---|
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(String stepName)
Transfers execution of this TestRunner to the TestStep with the specified
name in the TestCase
|
TestStepResult |
runTestStep(TestStep testStep) |
TestStepResult |
runTestStepByName(String name)
Runs the specified TestStep and returns the result
|
void |
setMockRunContext(MockTestRunContext mockRunContext) |
cancel, fail, getLog, getReason, getStartTime, getStatus, getTestRunnable, getTimeTaken, isRunning, setRunContext, start, waitUntilFinished
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cancel, fail, getReason, getStartTime, getStatus, getTestRunnable, getTimeTaken, isRunning, start, waitUntilFinished
public MockTestRunner(WsdlTestCase testCase)
public MockTestRunner(WsdlTestCase testCase, org.apache.log4j.Logger logger)
public WsdlTestCase getTestCase()
TestCaseRunner
getTestCase
in interface TestCaseRunner
public List<TestStepResult> getResults()
TestCaseRunner
getResults
in interface TestCaseRunner
public TestCaseRunContext getRunContext()
TestCaseRunner
getRunContext
in interface TestCaseRunner
getRunContext
in interface TestRunner
getRunContext
in class AbstractMockTestRunner<WsdlTestCase>
public TestStepResult runTestStep(TestStep testStep)
public TestStepResult runTestStepByName(String name)
TestCaseRunner
runTestStepByName
in interface TestCaseRunner
public void gotoStep(int index)
TestCaseRunner
gotoStep
in interface TestCaseRunner
public void gotoStepByName(String stepName)
TestCaseRunner
gotoStepByName
in interface TestCaseRunner
public void setMockRunContext(MockTestRunContext mockRunContext)
Copyright © 2019. All Rights Reserved.