Merge branch '3.4.x'
Closes gh-44993
This commit is contained in:
@@ -121,7 +121,7 @@ public abstract class AbstractApplicationContextRunner<SELF extends AbstractAppl
|
||||
* @param contextFactory the factory used to create the actual context
|
||||
* @param instanceFactory the factory used to create new instance of the runner
|
||||
* @since 2.6.0
|
||||
* @deprecated since 3.4.0 for removal in 3.6.0 in favor of
|
||||
* @deprecated since 3.4.0 for removal in 4.0.0 in favor of
|
||||
* {@link #AbstractApplicationContextRunner(Function, Supplier, Class...)}
|
||||
*/
|
||||
@Deprecated(since = "3.4.0", forRemoval = true)
|
||||
|
||||
@@ -23,7 +23,7 @@ import org.springframework.util.ObjectUtils;
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @see DefinitionsParser
|
||||
* @deprecated since 3.4.0 for removal in 3.6.0
|
||||
* @deprecated since 3.4.0 for removal in 4.0.0
|
||||
*/
|
||||
@SuppressWarnings("removal")
|
||||
@Deprecated(since = "3.4.0", forRemoval = true)
|
||||
|
||||
@@ -41,7 +41,7 @@ import org.springframework.util.StringUtils;
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @author Stephane Nicoll
|
||||
* @deprecated since 3.4.0 for removal in 3.6.0
|
||||
* @deprecated since 3.4.0 for removal in 4.0.0
|
||||
*/
|
||||
@SuppressWarnings("removal")
|
||||
@Deprecated(since = "3.4.0", forRemoval = true)
|
||||
|
||||
@@ -91,7 +91,7 @@ import org.springframework.test.context.junit4.SpringRunner;
|
||||
* @author Phillip Webb
|
||||
* @since 1.4.0
|
||||
* @see MockitoPostProcessor
|
||||
* @deprecated since 3.4.0 for removal in 3.6.0 in favor of
|
||||
* @deprecated since 3.4.0 for removal in 4.0.0 in favor of
|
||||
* {@link org.springframework.test.context.bean.override.mockito.MockitoBean}
|
||||
*/
|
||||
@SuppressWarnings("removal")
|
||||
|
||||
@@ -33,7 +33,7 @@ import java.lang.annotation.Target;
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @since 1.4.0
|
||||
* @deprecated since 3.4.0 for removal in 3.6.0 in favor of
|
||||
* @deprecated since 3.4.0 for removal in 4.0.0 in favor of
|
||||
* {@link org.springframework.test.context.bean.override.mockito.MockitoBean}
|
||||
*/
|
||||
@SuppressWarnings("removal")
|
||||
|
||||
@@ -37,7 +37,7 @@ import static org.mockito.Mockito.mock;
|
||||
* A complete definition that can be used to create a Mockito mock.
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @deprecated since 3.4.0 for removal in 3.6.0
|
||||
* @deprecated since 3.4.0 for removal in 4.0.0
|
||||
*/
|
||||
@SuppressWarnings("removal")
|
||||
@Deprecated(since = "3.4.0", forRemoval = true)
|
||||
|
||||
@@ -35,7 +35,7 @@ import org.springframework.util.Assert;
|
||||
* @author Phillip Webb
|
||||
* @since 1.4.0
|
||||
* @see ResetMocksTestExecutionListener
|
||||
* @deprecated since 3.4.0 for removal in 3.6.0 in favor of
|
||||
* @deprecated since 3.4.0 for removal in 4.0.0 in favor of
|
||||
* {@link org.springframework.test.context.bean.override.mockito.MockReset}
|
||||
*/
|
||||
@Deprecated(since = "3.4.0", forRemoval = true)
|
||||
|
||||
@@ -28,7 +28,7 @@ import org.springframework.test.context.MergedContextConfiguration;
|
||||
* A {@link ContextCustomizer} to add Mockito support.
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @deprecated since 3.4.0 for removal in 3.6.0
|
||||
* @deprecated since 3.4.0 for removal in 4.0.0
|
||||
*/
|
||||
@SuppressWarnings("removal")
|
||||
@Deprecated(since = "3.4.0", forRemoval = true)
|
||||
|
||||
@@ -27,7 +27,7 @@ import org.springframework.test.context.TestContextAnnotationUtils;
|
||||
* A {@link ContextCustomizerFactory} to add Mockito support.
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @deprecated since 3.4.0 for removal in 3.6.0
|
||||
* @deprecated since 3.4.0 for removal in 4.0.0
|
||||
*/
|
||||
@SuppressWarnings("removal")
|
||||
@Deprecated(since = "3.4.0", forRemoval = true)
|
||||
|
||||
@@ -78,7 +78,7 @@ import org.springframework.util.StringUtils;
|
||||
* @author Stephane Nicoll
|
||||
* @author Andreas Neiser
|
||||
* @since 1.4.0
|
||||
* @deprecated since 3.4.0 for removal in 3.6.0 in favor of Spring Framework's
|
||||
* @deprecated since 3.4.0 for removal in 4.0.0 in favor of Spring Framework's
|
||||
* {@link MockitoBean} and {@link MockitoSpyBean} support
|
||||
*/
|
||||
@SuppressWarnings("removal")
|
||||
|
||||
@@ -48,7 +48,7 @@ import org.springframework.util.ReflectionUtils.FieldCallback;
|
||||
* @author Moritz Halbritter
|
||||
* @since 1.4.2
|
||||
* @see ResetMocksTestExecutionListener
|
||||
* @deprecated since 3.4.0 for removal in 3.6.0 in favor of Spring Framework's support for
|
||||
* @deprecated since 3.4.0 for removal in 4.0.0 in favor of Spring Framework's support for
|
||||
* {@link MockitoBean} and {@link MockitoSpyBean}.
|
||||
*/
|
||||
@SuppressWarnings("removal")
|
||||
|
||||
@@ -34,7 +34,7 @@ import org.springframework.core.annotation.MergedAnnotations;
|
||||
* @author Phillip Webb
|
||||
* @author Stephane Nicoll
|
||||
* @see Definition
|
||||
* @deprecated since 3.4.0 for removal in 3.6.0
|
||||
* @deprecated since 3.4.0 for removal in 4.0.0
|
||||
*/
|
||||
@SuppressWarnings("removal")
|
||||
@Deprecated(since = "3.4.0", forRemoval = true)
|
||||
|
||||
@@ -43,7 +43,7 @@ import org.springframework.util.ClassUtils;
|
||||
* @author Phillip Webb
|
||||
* @since 1.4.0
|
||||
* @see MockitoTestExecutionListener
|
||||
* @deprecated since 3.4.0 for removal in 3.6.0 in favor of
|
||||
* @deprecated since 3.4.0 for removal in 4.0.0 in favor of
|
||||
* {@link org.springframework.test.context.bean.override.mockito.MockitoResetTestExecutionListener}
|
||||
*/
|
||||
@SuppressWarnings("removal")
|
||||
|
||||
@@ -31,7 +31,7 @@ import org.springframework.util.Assert;
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
* @since 2.4.0
|
||||
* @deprecated since 3.4.0 for removal in 3.6.0 in favor of Spring Framework's
|
||||
* @deprecated since 3.4.0 for removal in 4.0.0 in favor of Spring Framework's
|
||||
* {@link MockitoBean} and {@link MockitoSpyBean}
|
||||
*/
|
||||
@Deprecated(since = "3.4.0", forRemoval = true)
|
||||
|
||||
@@ -89,7 +89,7 @@ import org.springframework.test.context.junit4.SpringRunner;
|
||||
* @author Phillip Webb
|
||||
* @since 1.4.0
|
||||
* @see MockitoPostProcessor
|
||||
* @deprecated since 3.4.0 for removal in 3.6.0 in favor of
|
||||
* @deprecated since 3.4.0 for removal in 4.0.0 in favor of
|
||||
* {@link org.springframework.test.context.bean.override.mockito.MockitoSpyBean}
|
||||
*/
|
||||
@SuppressWarnings("removal")
|
||||
|
||||
@@ -33,7 +33,7 @@ import java.lang.annotation.Target;
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @since 1.4.0
|
||||
* @deprecated since 3.4.0 for removal in 3.6.0 in favor of
|
||||
* @deprecated since 3.4.0 for removal in 4.0.0 in favor of
|
||||
* {@link org.springframework.test.context.bean.override.mockito.MockitoSpyBean}
|
||||
*/
|
||||
@SuppressWarnings("removal")
|
||||
|
||||
@@ -37,7 +37,7 @@ import static org.mockito.Mockito.mock;
|
||||
* A complete definition that can be used to create a Mockito spy.
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @deprecated since 3.4.0 for removal in 3.6.0
|
||||
* @deprecated since 3.4.0 for removal in 4.0.0
|
||||
*/
|
||||
@SuppressWarnings("removal")
|
||||
@Deprecated(since = "3.4.0", forRemoval = true)
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
/**
|
||||
* Mockito integration for Spring Boot tests.
|
||||
* <p>
|
||||
* Deprecated since 3.4.0 for removal in 3.6.0 in favor of Spring Framework's
|
||||
* Deprecated since 3.4.0 for removal in 4.0.0 in favor of Spring Framework's
|
||||
* {@link org.springframework.test.context.bean.override.mockito.MockitoBean} and
|
||||
* {@link org.springframework.test.context.bean.override.mockito.MockitoSpyBean}
|
||||
*/
|
||||
|
||||
@@ -1060,7 +1060,7 @@ public class TestRestTemplate {
|
||||
* Create a new {@link CustomHttpComponentsClientHttpRequestFactory} instance.
|
||||
* @param httpClientOptions the {@link HttpClient} options
|
||||
* @param settings the settings to apply
|
||||
* @deprecated since 3.4.0 for removal in 3.6.0 in favor of
|
||||
* @deprecated since 3.4.0 for removal in 4.0.0 in favor of
|
||||
* {@link #CustomHttpComponentsClientHttpRequestFactory(HttpClientOption[], ClientHttpRequestFactorySettings)}
|
||||
*/
|
||||
@Deprecated(since = "3.4.0", forRemoval = true)
|
||||
|
||||
Reference in New Issue
Block a user