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, waitUntilFinishedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcancel, fail, getReason, getStartTime, getStatus, getTestRunnable, getTimeTaken, isRunning, start, waitUntilFinishedpublic MockTestRunner(WsdlTestCase testCase)
public MockTestRunner(WsdlTestCase testCase, org.apache.log4j.Logger logger)
public WsdlTestCase getTestCase()
TestCaseRunnergetTestCase in interface TestCaseRunnerpublic List<TestStepResult> getResults()
TestCaseRunnergetResults in interface TestCaseRunnerpublic TestCaseRunContext getRunContext()
TestCaseRunnergetRunContext in interface TestCaseRunnergetRunContext in interface TestRunnergetRunContext in class AbstractMockTestRunner<WsdlTestCase>public TestStepResult runTestStep(TestStep testStep)
public TestStepResult runTestStepByName(String name)
TestCaseRunnerrunTestStepByName in interface TestCaseRunnerpublic void gotoStep(int index)
TestCaseRunnergotoStep in interface TestCaseRunnerpublic void gotoStepByName(String stepName)
TestCaseRunnergotoStepByName in interface TestCaseRunnerpublic void setMockRunContext(MockTestRunContext mockRunContext)
Copyright © 2019. All Rights Reserved.