diff --git a/spring-test/src/main/java/org/springframework/test/context/junit4/AbstractJUnit4SpringContextTests.java b/spring-test/src/main/java/org/springframework/test/context/junit4/AbstractJUnit4SpringContextTests.java index 9656257819..9c39288080 100644 --- a/spring-test/src/main/java/org/springframework/test/context/junit4/AbstractJUnit4SpringContextTests.java +++ b/spring-test/src/main/java/org/springframework/test/context/junit4/AbstractJUnit4SpringContextTests.java @@ -27,12 +27,6 @@ import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.TestContext; import org.springframework.test.context.TestContextManager; import org.springframework.test.context.TestExecutionListeners; -import org.springframework.test.context.event.ApplicationEventsTestExecutionListener; -import org.springframework.test.context.event.EventPublishingTestExecutionListener; -import org.springframework.test.context.support.DependencyInjectionTestExecutionListener; -import org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener; -import org.springframework.test.context.support.DirtiesContextTestExecutionListener; -import org.springframework.test.context.web.ServletTestExecutionListener; /** * Abstract base test class which integrates the Spring TestContext @@ -43,25 +37,7 @@ import org.springframework.test.context.web.ServletTestExecutionListener; * {@link ContextConfiguration @ContextConfiguration} annotation to * configure the {@linkplain ApplicationContext application context} {@linkplain * ContextConfiguration#locations() resource locations} or {@linkplain - * ContextConfiguration#classes() component classes}. If your test does not - * need to load an application context, you may choose to omit the - * {@link ContextConfiguration @ContextConfiguration} declaration and to configure - * the appropriate {@link org.springframework.test.context.TestExecutionListener - * TestExecutionListeners} manually. - * - *

This class explicitly registers the following {@code TestExecutionListener} - * implementations. If you want to switch to using the default set of - * listeners, see the class-level Javadoc for - * {@link TestExecutionListeners @TestExecutionListeners} for details. - * - *

+ * ContextConfiguration#classes() component classes}. * *

This class serves only as a convenience for extension. *