Package org.flowable.spring.impl.test
Class CleanTestExecutionListener
java.lang.Object
org.springframework.test.context.support.AbstractTestExecutionListener
org.flowable.spring.impl.test.CleanTestExecutionListener
- All Implemented Interfaces:
Ordered
,TestExecutionListener
Removes all deployments at the end of a complete test class.
Use this as follows in a Spring test:
- Author:
- jbarrez @RunWith(SpringJUnit4ClassRunner.class) @TestExecutionListeners(CleanTestExecutionListener.class) @ContextConfiguration("...")
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.springframework.test.context.support.AbstractTestExecutionListener
afterTestExecution, afterTestMethod, beforeTestClass, beforeTestExecution, beforeTestMethod, getOrder, prepareTestInstance
-
Constructor Details
-
CleanTestExecutionListener
public CleanTestExecutionListener()
-
-
Method Details
-
afterTestClass
- Specified by:
afterTestClass
in interfaceTestExecutionListener
- Overrides:
afterTestClass
in classAbstractTestExecutionListener
- Throws:
Exception
-