|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.test.context.support.AbstractTestExecutionListener
public abstract class AbstractTestExecutionListener
Abstract implementation of the TestExecutionListener
interface which
provides empty method stubs. Subclasses can extend this class and override
only those methods suitable for the task at hand.
Constructor Summary | |
---|---|
AbstractTestExecutionListener()
|
Method Summary | |
---|---|
void |
afterTestMethod(TestContext testContext)
The default implementation is empty. |
void |
beforeTestMethod(TestContext testContext)
The default implementation is empty. |
void |
prepareTestInstance(TestContext testContext)
The default implementation is empty. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractTestExecutionListener()
Method Detail |
---|
public void prepareTestInstance(TestContext testContext) throws Exception
prepareTestInstance
in interface TestExecutionListener
testContext
- the test context for the test
Exception
- allows any exception to propagatepublic void beforeTestMethod(TestContext testContext) throws Exception
beforeTestMethod
in interface TestExecutionListener
testContext
- the test context in which the test method will be
executed, not null
Exception
- allows any exception to propagateTestExecutionListener.beforeTestMethod(org.springframework.test.context.TestContext)
public void afterTestMethod(TestContext testContext) throws Exception
afterTestMethod
in interface TestExecutionListener
testContext
- the test context in which the test method was
executed, not null
Exception
- allows any exception to propagateTestExecutionListener.afterTestMethod(TestContext)
|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |