mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Remove outdated Spring version mentions
Close gh-35696
This commit is contained in:
@@ -22,12 +22,11 @@ import org.springframework.context.ApplicationContext;
|
||||
* Strategy interface for loading an {@link ApplicationContext} for an integration
|
||||
* test managed by the Spring TestContext Framework.
|
||||
*
|
||||
* <p><strong>NOTE</strong>: as of Spring Framework 6.0, {@code ContextLoader} is
|
||||
* effectively a marker interface and should not be implemented directly. Implement
|
||||
* {@link SmartContextLoader} instead of this interface in order to provide support
|
||||
* for annotated classes, active bean definition profiles, application context
|
||||
* initializers, and various other features not supported by methods defined in
|
||||
* the {@code ContextLoader} SPI.
|
||||
* <p><strong>NOTE</strong>: {@code ContextLoader} is a marker interface and should
|
||||
* not be implemented directly. Implement {@link SmartContextLoader} instead of this
|
||||
* interface in order to provide support for annotated classes, active bean definition
|
||||
* profiles, application context initializers, and various other features not supported
|
||||
* by methods defined in the {@code ContextLoader} SPI.
|
||||
*
|
||||
* <p>Clients of a {@code ContextLoader} should call
|
||||
* {@link #processLocations(Class, String...) processLocations()} prior to
|
||||
|
||||
+1
-1
@@ -57,7 +57,7 @@ import org.springframework.util.Assert;
|
||||
* {@link SpringRunner}, {@link ContextConfiguration @ContextConfiguration},
|
||||
* {@link TestExecutionListeners @TestExecutionListeners}, etc.</li>
|
||||
* <li>If you wish to extend this class and use a runner other than the
|
||||
* {@link SpringRunner}, as of Spring Framework 4.2 you can use
|
||||
* {@link SpringRunner}, you can use
|
||||
* {@link org.springframework.test.context.junit4.rules.SpringClassRule SpringClassRule} and
|
||||
* {@link org.springframework.test.context.junit4.rules.SpringMethodRule SpringMethodRule}
|
||||
* and specify your runner of choice via {@link org.junit.runner.RunWith @RunWith(...)}.</li>
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@ import java.lang.annotation.Target;
|
||||
* annotation.
|
||||
*
|
||||
* <p>Generally speaking, {@code @AfterTransaction} methods must not accept any
|
||||
* arguments. However, as of Spring Framework 6.1, for tests using the
|
||||
* arguments. However, for tests using the
|
||||
* {@link org.springframework.test.context.junit.jupiter.SpringExtension SpringExtension}
|
||||
* with JUnit Jupiter, {@code @AfterTransaction} methods may optionally accept
|
||||
* arguments which will be resolved by any registered JUnit
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@ import java.lang.annotation.Target;
|
||||
* annotation.
|
||||
*
|
||||
* <p>Generally speaking, {@code @BeforeTransaction} methods must not accept any
|
||||
* arguments. However, as of Spring Framework 6.1, for tests using the
|
||||
* arguments. However, for tests using the
|
||||
* {@link org.springframework.test.context.junit.jupiter.SpringExtension SpringExtension}
|
||||
* with JUnit Jupiter, {@code @BeforeTransaction} methods may optionally accept
|
||||
* arguments which will be resolved by any registered JUnit
|
||||
|
||||
Reference in New Issue
Block a user