Stop referring to JUnit 5 in documentation
Closes gh-34970
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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,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,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;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2021 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.
|
||||
@@ -24,7 +24,7 @@ import org.junit.platform.suite.api.Suite;
|
||||
|
||||
/**
|
||||
* JUnit Platform based test suite for tests that involve the Spring TestContext
|
||||
* Framework and JUnit Jupiter (i.e., JUnit 5's programming model).
|
||||
* Framework and JUnit Jupiter.
|
||||
*
|
||||
* <p><strong>This suite is only intended to be used manually within an IDE.</strong>
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user