com.github.springtestdbunit
Class TransactionDbUnitTestExecutionListener
java.lang.Object
com.github.springtestdbunit.TestExecutionListenerChain
com.github.springtestdbunit.TransactionDbUnitTestExecutionListener
- All Implemented Interfaces:
- org.springframework.test.context.TestExecutionListener
public class TransactionDbUnitTestExecutionListener
- extends TestExecutionListenerChain
TestExecutionListener which provides support for @DatabaseSetup,
@DatabaseTearDown and @ExpectedDatabase annotations and
executed tests within transactions.
Transactions start before @DatabaseSetup and end after @DatabaseTearDown and @ExpectedDatabase.
- Author:
- Phillip Webb
- See Also:
TransactionalTestExecutionListener,
DbUnitTestExecutionListener
|
Method Summary |
protected Class<?>[] |
getChain()
Returns the chain of TestExecutionListener classes in the correct order. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransactionDbUnitTestExecutionListener
public TransactionDbUnitTestExecutionListener()
getChain
protected Class<?>[] getChain()
- Description copied from class:
TestExecutionListenerChain
- Returns the chain of
TestExecutionListener classes in the correct order.
- Specified by:
getChain in class TestExecutionListenerChain
- Returns:
- The chain
Copyright © 2012. All Rights Reserved.