| 
 | ||||||||||
| 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 TestExecutionListenertestContext - the test context for the test (never null)
Exception - allows any exception to propagate
public void beforeTestMethod(TestContext testContext)
                      throws Exception
beforeTestMethod in interface TestExecutionListenertestContext - the test context in which the test method will be
 executed (never null)
Exception - allows any exception to propagate
public void afterTestMethod(TestContext testContext)
                     throws Exception
afterTestMethod in interface TestExecutionListenertestContext - the test context in which the test method was
 executed (never null)
Exception - allows any exception to propagate| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||