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.
TransactionalTestExecutionListener,
DbUnitTestExecutionListener| Constructor and Description |
|---|
TransactionDbUnitTestExecutionListener() |
| Modifier and Type | Method and Description |
|---|---|
protected Class<?>[] |
getChain()
Returns the chain of
TestExecutionListener classes in the correct order. |
afterTestClass, afterTestMethod, beforeTestClass, beforeTestMethod, createChain, prepareTestInstancepublic TransactionDbUnitTestExecutionListener()
protected Class<?>[] getChain()
TestExecutionListenerChainTestExecutionListener classes in the correct order.getChain in class TestExecutionListenerChainCopyright © 2016. All rights reserved.