public class ServletTestExecutionListener extends java.lang.Object implements TestExecutionListener
| Constructor and Description |
|---|
ServletTestExecutionListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterTestClass(TestContext testContext)
The default implementation is empty.
|
void |
afterTestMethod(TestContext testContext)
TODO [SPR-9864] Document overridden afterTestMethod().
|
void |
beforeTestClass(TestContext testContext)
The default implementation is empty.
|
void |
beforeTestMethod(TestContext testContext)
TODO [SPR-9864] Document overridden beforeTestMethod().
|
void |
prepareTestInstance(TestContext testContext)
TODO [SPR-9864] Document overridden prepareTestInstance().
|
public void beforeTestClass(TestContext testContext) throws java.lang.Exception
beforeTestClass in interface TestExecutionListenertestContext - the test context for the test; never nulljava.lang.Exception - allows any exception to propagateTestExecutionListener.beforeTestClass(TestContext)public void prepareTestInstance(TestContext testContext) throws java.lang.Exception
prepareTestInstance in interface TestExecutionListenertestContext - the test context for the test; never nulljava.lang.Exception - allows any exception to propagateTestExecutionListener.prepareTestInstance(TestContext)public void beforeTestMethod(TestContext testContext) throws java.lang.Exception
beforeTestMethod in interface TestExecutionListenertestContext - the test context in which the test method will be
executed; never nulljava.lang.Exception - allows any exception to propagateTestExecutionListener.beforeTestMethod(TestContext)public void afterTestMethod(TestContext testContext) throws java.lang.Exception
afterTestMethod in interface TestExecutionListenertestContext - the test context in which the test method was
executed; never nulljava.lang.Exception - allows any exception to propagateTestExecutionListener.afterTestMethod(TestContext)public void afterTestClass(TestContext testContext) throws java.lang.Exception
afterTestClass in interface TestExecutionListenertestContext - the test context for the test; never nulljava.lang.Exception - allows any exception to propagateTestExecutionListener.afterTestClass(TestContext)