Class TransactionRunListener
java.lang.Object
org.junit.runner.notification.RunListener
de.hybris.platform.testframework.runlistener.TransactionRunListener
public class TransactionRunListener
extends org.junit.runner.notification.RunListener
Listener which will start a transaction before each test and will rollback it when test is finished. Transactional
support will only be enabled if the test class or method is annotated with
Transactional.- Since:
- 3.0-u3
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.junit.runner.notification.RunListener
org.junit.runner.notification.RunListener.ThreadSafe -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidtestFinished(org.junit.runner.Description description) voidtestStarted(org.junit.runner.Description description) Methods inherited from class org.junit.runner.notification.RunListener
testAssumptionFailure, testFailure, testIgnored, testRunFinished, testRunStarted, testSuiteFinished, testSuiteStarted