public class JUnitScenarioRunner extends OpenNMSJUnit4ClassRunner implements org.springframework.test.context.TestExecutionListener
Constructor and Description |
---|
JUnitScenarioRunner(Class<? extends ScenarioHandler> clazz,
Scenario scenario) |
Modifier and Type | Method and Description |
---|---|
void |
afterTestClass(org.springframework.test.context.TestContext testContext) |
void |
afterTestMethod(org.springframework.test.context.TestContext testContext) |
void |
beforeTestClass(org.springframework.test.context.TestContext testContext) |
void |
beforeTestMethod(org.springframework.test.context.TestContext testContext) |
ScenarioResults |
getResults() |
void |
prepareTestInstance(org.springframework.test.context.TestContext testContext) |
createTest, createTestContextManager, getDescription, getExpectedException, getJUnitTimeout, getSpringTimeout, getTestContextManager, isTestMethodIgnored, methodBlock, possiblyExpectingExceptions, run, runChild, withAfterClasses, withAfters, withBeforeClasses, withBefores, withPotentialRepeat, withPotentialTimeout
collectInitializationErrors, computeTestMethods, describeChild, getChildren, getTestRules, isIgnored, methodInvoker, rules, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor
public JUnitScenarioRunner(Class<? extends ScenarioHandler> clazz, Scenario scenario) throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationError
public void beforeTestMethod(org.springframework.test.context.TestContext testContext)
beforeTestMethod
in interface org.springframework.test.context.TestExecutionListener
public void afterTestMethod(org.springframework.test.context.TestContext testContext)
afterTestMethod
in interface org.springframework.test.context.TestExecutionListener
public void beforeTestClass(org.springframework.test.context.TestContext testContext)
beforeTestClass
in interface org.springframework.test.context.TestExecutionListener
public void afterTestClass(org.springframework.test.context.TestContext testContext)
afterTestClass
in interface org.springframework.test.context.TestExecutionListener
public void prepareTestInstance(org.springframework.test.context.TestContext testContext)
prepareTestInstance
in interface org.springframework.test.context.TestExecutionListener
public ScenarioResults getResults()
Copyright © 2020. All rights reserved.