com.consol.citrus.junit
Class TestSuiteAwareExecutionListener
java.lang.Object
org.springframework.test.context.support.AbstractTestExecutionListener
com.consol.citrus.junit.TestSuiteAwareExecutionListener
- All Implemented Interfaces:
- org.springframework.test.context.TestExecutionListener
public class TestSuiteAwareExecutionListener
- extends org.springframework.test.context.support.AbstractTestExecutionListener
Test execution listener that will load a test suite instance from the application context and execute
tasks before and after the test run. The tasks after are executed as ShutdownHook thread that is added
to the JVM runtime.
- Author:
- Christoph Deppisch
|
Method Summary |
void |
prepareTestInstance(org.springframework.test.context.TestContext testContext)
|
| Methods inherited from class org.springframework.test.context.support.AbstractTestExecutionListener |
afterTestClass, afterTestMethod, beforeTestClass, beforeTestMethod |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestSuiteAwareExecutionListener
public TestSuiteAwareExecutionListener()
prepareTestInstance
public void prepareTestInstance(org.springframework.test.context.TestContext testContext)
throws Exception
- Specified by:
prepareTestInstance in interface org.springframework.test.context.TestExecutionListener- Overrides:
prepareTestInstance in class org.springframework.test.context.support.AbstractTestExecutionListener
- Throws:
Exception- See Also:
AbstractTestExecutionListener.prepareTestInstance(org.springframework.test.context.TestContext)
Copyright © 2008-2013 ConSol* Consulting&Solutions GmbH. All Rights Reserved.