mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Stop referring to JUnit 5 in documentation
Closes gh-34970
This commit is contained in:
+2
-2
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2022 the original author or authors.
|
||||
* Copyright 2002-2025 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -55,7 +55,7 @@ import org.springframework.core.annotation.AliasFor;
|
||||
* {@link org.junit.jupiter.api.condition.DisabledOnOs @DisabledOnOs(MAC)} support
|
||||
* in JUnit Jupiter.
|
||||
*
|
||||
* <p>Since JUnit 5.7, JUnit Jupiter also has a condition annotation named
|
||||
* <p>JUnit Jupiter also has a condition annotation named
|
||||
* {@link org.junit.jupiter.api.condition.DisabledIf @DisabledIf}. Thus, if you
|
||||
* wish to use Spring's {@code @DisabledIf} support make sure you import the
|
||||
* annotation type from the correct package.
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2017 the original author or authors.
|
||||
* Copyright 2002-2025 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -22,7 +22,7 @@ import org.junit.jupiter.api.extension.ExtensionContext;
|
||||
/**
|
||||
* {@code DisabledIfCondition} is an {@link org.junit.jupiter.api.extension.ExecutionCondition}
|
||||
* that supports the {@link DisabledIf @DisabledIf} annotation when using the <em>Spring
|
||||
* TestContext Framework</em> in conjunction with JUnit 5's <em>Jupiter</em> programming model.
|
||||
* TestContext Framework</em> in conjunction with the JUnit Jupiter testing framework.
|
||||
*
|
||||
* <p>Any attempt to use the {@code DisabledIfCondition} without the presence of
|
||||
* {@link DisabledIf @DisabledIf} will result in an <em>enabled</em>
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2022 the original author or authors.
|
||||
* Copyright 2002-2025 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -55,7 +55,7 @@ import org.springframework.core.annotation.AliasFor;
|
||||
* {@link org.junit.jupiter.api.condition.EnabledOnOs @EnabledOnOs(MAC)} support
|
||||
* in JUnit Jupiter.
|
||||
*
|
||||
* <p>Since JUnit 5.7, JUnit Jupiter also has a condition annotation named
|
||||
* <p>JUnit Jupiter also has a condition annotation named
|
||||
* {@link org.junit.jupiter.api.condition.EnabledIf @EnabledIf}. Thus, if you
|
||||
* wish to use Spring's {@code @EnabledIf} support make sure you import the
|
||||
* annotation type from the correct package.
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2017 the original author or authors.
|
||||
* Copyright 2002-2025 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -22,7 +22,7 @@ import org.junit.jupiter.api.extension.ExtensionContext;
|
||||
/**
|
||||
* {@code EnabledIfCondition} is an {@link org.junit.jupiter.api.extension.ExecutionCondition}
|
||||
* that supports the {@link EnabledIf @EnabledIf} annotation when using the <em>Spring
|
||||
* TestContext Framework</em> in conjunction with JUnit 5's <em>Jupiter</em> programming model.
|
||||
* TestContext Framework</em> in conjunction with the JUnit Jupiter testing framework.
|
||||
*
|
||||
* <p>Any attempt to use the {@code EnabledIfCondition} without the presence of
|
||||
* {@link EnabledIf @EnabledIf} will result in an <em>enabled</em>
|
||||
|
||||
+1
-1
@@ -65,7 +65,7 @@ import org.springframework.util.ReflectionUtils.MethodFilter;
|
||||
|
||||
/**
|
||||
* {@code SpringExtension} integrates the <em>Spring TestContext Framework</em>
|
||||
* into JUnit 5's <em>Jupiter</em> programming model.
|
||||
* into the JUnit Jupiter testing framework.
|
||||
*
|
||||
* <p>To use this extension, simply annotate a JUnit Jupiter based test class with
|
||||
* {@code @ExtendWith(SpringExtension.class)}, {@code @SpringJUnitConfig}, or
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
/**
|
||||
* Core support for integrating the <em>Spring TestContext Framework</em>
|
||||
* with the JUnit Jupiter extension model in JUnit 5.
|
||||
* with the JUnit Jupiter testing framework.
|
||||
*/
|
||||
@NullMarked
|
||||
package org.springframework.test.context.junit.jupiter;
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
/**
|
||||
* Web support for integrating the <em>Spring TestContext Framework</em>
|
||||
* with the JUnit Jupiter extension model in JUnit 5.
|
||||
* with the JUnit Jupiter extension model.
|
||||
*/
|
||||
@NullMarked
|
||||
package org.springframework.test.context.junit.jupiter.web;
|
||||
|
||||
Reference in New Issue
Block a user