Merge branch '3.1.x'

Closes gh-37406
This commit is contained in:
Andy Wilkinson 2023-09-15 11:15:03 +01:00
commit a0435920ce
19 changed files with 10 additions and 33 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2020 the original author or authors.
* Copyright 2012-2023 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.
@ -23,7 +23,6 @@ import java.net.URISyntaxException;
* Provides access to build output locations in a build system and IDE agnostic manner.
*
* @author Andy Wilkinson
* @since 2.2.0
*/
public class BuildOutput {

View File

@ -28,7 +28,6 @@ import org.springframework.util.ReflectionUtils;
* AssertJ {@link Assert} for {@link SimpleAsyncTaskExecutor}.
*
* @author Moritz Halbritter
* @since 3.2.0
*/
public final class SimpleAsyncTaskExecutorAssert
extends AbstractAssert<SimpleAsyncTaskExecutorAssert, SimpleAsyncTaskExecutor> {

View File

@ -31,7 +31,6 @@ import org.springframework.core.annotation.AliasFor;
* Annotation used to exclude entries from the classpath.
*
* @author Andy Wilkinson
* @since 1.5.0
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE, ElementType.METHOD })
@ -57,7 +56,6 @@ public @interface ClassPathExclusions {
* For example, to exclude Hibernate Validator from the classpath,
* {@code "hibernate-validator-*.jar"} can be used.
* @return the exclusion patterns
* @since 3.2.0
*/
@AliasFor("value")
String[] files() default {};
@ -65,7 +63,6 @@ public @interface ClassPathExclusions {
/**
* One or more packages that should be excluded from the classpath.
* @return the excluded packages
* @since 3.2.0
*/
String[] packages() default {};

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2022 the original author or authors.
* Copyright 2012-2023 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.
@ -28,7 +28,6 @@ import org.junit.jupiter.api.extension.ExtendWith;
* Annotation used to override entries on the classpath.
*
* @author Andy Wilkinson
* @since 1.5.0
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE, ElementType.METHOD })

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2022 the original author or authors.
* Copyright 2012-2023 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.
@ -30,7 +30,6 @@ import org.junit.jupiter.api.extension.ExtendWith;
* {@link ClassPathOverrides} are needed, but just a copy of the classpath.
*
* @author Christoph Dreis
* @since 2.4.0
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE, ElementType.METHOD })

View File

@ -29,7 +29,6 @@ import org.junit.jupiter.api.extension.ExtendWith;
* architecture check.
*
* @author Moritz Halbritter
* @since 2.5.11
*/
@Target({ ElementType.TYPE, ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)

View File

@ -29,7 +29,6 @@ import org.junit.jupiter.api.extension.ExtendWith;
* Disables test execution if a process is unavailable.
*
* @author Phillip Webb
* @since 3.1.0
*/
@Target({ ElementType.TYPE, ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)

View File

@ -28,7 +28,6 @@ import org.junit.jupiter.api.extension.ExtendWith;
* Repeatable container for {@link DisabledIfProcessUnavailable}.
*
* @author Phillip Webb
* @since 3.1.0
*/
@Target({ ElementType.TYPE, ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2019 the original author or authors.
* Copyright 2012-2023 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.
@ -23,7 +23,6 @@ package org.springframework.boot.testsupport.system;
* @author Madhura Bhave
* @author Phillip Webb
* @author Andy Wilkinson
* @since 2.2.0
*/
public interface CapturedOutput extends CharSequence {

View File

@ -62,7 +62,6 @@ import org.junit.jupiter.api.extension.ParameterResolver;
* @author Phillip Webb
* @author Andy Wilkinson
* @author Sam Brannen
* @since 2.2.0
* @see CapturedOutput
*/
public class OutputCaptureExtension

View File

@ -22,7 +22,6 @@ import org.testcontainers.containers.GenericContainer;
* A {@link GenericContainer} for ActiveMQ.
*
* @author Stephane Nicoll
* @since 3.1.0
*/
public class ActiveMQContainer extends GenericContainer<ActiveMQContainer> {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2021 the original author or authors.
* Copyright 2012-2023 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.
@ -23,7 +23,6 @@ import java.time.Duration;
* heavily contended environments such as CI.
*
* @author Andy Wilkinson
* @since 2.4.10
*/
public class CassandraContainer extends org.testcontainers.containers.CassandraContainer<CassandraContainer> {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2020 the original author or authors.
* Copyright 2012-2023 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.
@ -29,7 +29,6 @@ import org.junit.jupiter.api.extension.ExtendWith;
*
* @author Andy Wilkinson
* @author Phillip Webb
* @since 2.3.0
*/
@Target({ ElementType.TYPE, ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)

View File

@ -25,7 +25,6 @@ import org.testcontainers.utility.DockerImageName;
* @author Eddú Meléndez
* @author Moritz Halbritter
* @author Chris Bono
* @since 2.3.6
*/
public final class DockerImageNames {
@ -219,7 +218,6 @@ public final class DockerImageNames {
/**
* Return a {@link DockerImageName} suitable for running a Docker registry.
* @return a docker image name for running a registry
* @since 2.4.0
*/
public static DockerImageName registry() {
return DockerImageName.parse("registry").withTag(REGISTRY_VERSION);
@ -228,7 +226,6 @@ public final class DockerImageNames {
/**
* Return a {@link DockerImageName} suitable for running Zipkin.
* @return a docker image name for running Zipkin
* @since 3.1.0
*/
public static DockerImageName zipkin() {
return DockerImageName.parse("openzipkin/zipkin").withTag(ZIPKIN_VERSION);

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2020 the original author or authors.
* Copyright 2012-2023 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.
@ -23,7 +23,6 @@ import org.testcontainers.containers.GenericContainer;
*
* @author Andy Wilkinson
* @author Madhura Bhave
* @since 2.0.0
*/
public class RedisContainer extends GenericContainer<RedisContainer> {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2022 the original author or authors.
* Copyright 2012-2023 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.
@ -28,7 +28,6 @@ import org.junit.jupiter.api.extension.ExtendWith;
* Indicates that a test pollutes URL factories.
*
* @author Phillip Webb
* @since 2.6.14
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE, ElementType.METHOD })

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2021 the original author or authors.
* Copyright 2012-2023 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.
@ -29,7 +29,6 @@ import jakarta.servlet.ServletResponse;
* Simple example Filter used for testing.
*
* @author Phillip Webb
* @since 2.0.0
*/
public class ExampleFilter implements Filter {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2021 the original author or authors.
* Copyright 2012-2023 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.
@ -30,7 +30,6 @@ import org.springframework.util.StreamUtils;
* Simple example Servlet used for testing.
*
* @author Phillip Webb
* @since 2.0.0
*/
@SuppressWarnings("serial")
public class ExampleServlet extends GenericServlet {

View File

@ -46,7 +46,6 @@ import static org.mockito.Mockito.mock;
*
* @author Phillip Webb
* @author Andy Wilkinson
* @since 2.0.0
*/
public abstract class MockServletWebServer {