Skip to content

Commit d144e29

Browse files
committed
Document default TELs in AbstTxJUnit4SpringContextTests
1 parent 0d4526e commit d144e29

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

spring-test/src/main/java/org/springframework/test/context/junit4/AbstractTransactionalJUnit4SpringContextTests.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,17 @@
4949
* <p>Concrete subclasses must fulfill the same requirements outlined in
5050
* {@link AbstractJUnit4SpringContextTests}.
5151
*
52+
* <p>The following {@link org.springframework.test.context.TestExecutionListener
53+
* TestExecutionListeners} are configured by default:
54+
*
55+
* <ul>
56+
* <li>{@link org.springframework.test.context.web.ServletTestExecutionListener}
57+
* <li>{@link org.springframework.test.context.support.DependencyInjectionTestExecutionListener}
58+
* <li>{@link org.springframework.test.context.support.DirtiesContextTestExecutionListener}
59+
* <li>{@link org.springframework.test.context.transaction.TransactionalTestExecutionListener}
60+
* <li>{@link org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener}
61+
* </ul>
62+
*
5263
* <p>Note: this class serves only as a convenience for extension. If you do not
5364
* wish for your test classes to be tied to a Spring-specific class hierarchy,
5465
* you may configure your own custom test classes by using

0 commit comments

Comments
 (0)