Revert "Register EventPublishingTestExecutionListener by default"

This reverts commit 13543f5e0f.
This commit is contained in:
Sam Brannen
2019-04-04 18:57:27 +02:00
parent a8d6ba9965
commit f7a5b3013e
4 changed files with 17 additions and 6 deletions

View File

@@ -61,6 +61,14 @@ import org.springframework.test.context.support.AbstractTestExecutionListener;
* support. For further details, consult the class-level Javadoc for
* {@link org.springframework.context.event.EventListener @EventListener}.
*
* <h3>Listener Registration</h3>
* <p>Note that this {@code TestExecutionListener} is not registered by default,
* but it may be registered for a given test class via
* {@link org.springframework.test.context.TestExecutionListeners @TestExecutionListeners}
* or globally via the {@link org.springframework.core.io.support.SpringFactoriesLoader
* SpringFactoriesLoader} mechanism (consult the Javadoc and Spring reference manual for
* details).
*
* @author Frank Scheffler
* @author Sam Brannen
* @since 5.2