Merge branch '1.5.x' into 2.0.x

This commit is contained in:
Phillip Webb
2019-06-28 23:27:59 -07:00
342 changed files with 332 additions and 139 deletions

View File

@@ -26,6 +26,7 @@ import org.springframework.util.ClassUtils;
* skipped.
*
* @author Stephane Nicoll
* @since 2.0.0
*/
public abstract class Assume {

View File

@@ -28,6 +28,7 @@ import org.springframework.util.Assert;
*
* @param <T> the type of object that the condition accepts
* @author Phillip Webb
* @since 2.0.0
*/
public final class Matched<T> extends Condition<T> {

View File

@@ -37,6 +37,7 @@ import org.junit.rules.TemporaryFolder;
* @author Stephane Nicoll
* @author Phillip Webb
* @author Andy Wilkinson
* @since 1.5.0
*/
public class TestCompiler {

View File

@@ -41,6 +41,7 @@ import static org.assertj.core.api.Assertions.assertThat;
* Abstract base class for {@code @Configuration} sanity checks.
*
* @author Andy Wilkinson
* @since 2.0.0
*/
public abstract class AbstractConfigurationClassTests {

View File

@@ -36,6 +36,7 @@ import static org.hamcrest.Matchers.allOf;
*
* @author Phillip Webb
* @author Andy Wilkinson
* @since 2.0.0
*/
public class OutputCapture implements TestRule {

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2017 the original author or authors.
* Copyright 2012-2019 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,6 +28,7 @@ import java.lang.annotation.Target;
* from the classpath.
*
* @author Andy Wilkinson
* @since 1.5.0
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2017 the original author or authors.
* Copyright 2012-2019 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.
@@ -27,6 +27,7 @@ import java.lang.annotation.Target;
* on the classpath.
*
* @author Andy Wilkinson
* @since 1.5.0
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)

View File

@@ -64,6 +64,7 @@ import org.springframework.util.StringUtils;
* the thread context class loader while the test is being run.
*
* @author Andy Wilkinson
* @since 1.5.0
*/
public class ModifiedClassPathRunner extends BlockJUnit4ClassRunner {

View File

@@ -32,6 +32,7 @@ import org.testcontainers.containers.wait.strategy.HostPortWaitStrategy;
*
* @author Andy Wilkinson
* @author Madhura Bhave
* @since 2.0.0
*/
public class CassandraContainer extends Container {

View File

@@ -31,6 +31,7 @@ import org.testcontainers.containers.wait.strategy.HostPortWaitStrategy;
*
* @author Andy Wilkinson
* @author Madhura Bhave
* @since 2.0.0
*/
public class Neo4jContainer extends Container {

View File

@@ -23,6 +23,7 @@ import org.testcontainers.containers.GenericContainer;
*
* @author Andy Wilkinson
* @author Madhura Bhave
* @since 2.0.0
*/
public class RedisContainer extends Container {

View File

@@ -29,6 +29,7 @@ import javax.servlet.ServletResponse;
* Simple example Filter used for testing.
*
* @author Phillip Webb
* @since 2.0.0
*/
public class ExampleFilter implements Filter {

View File

@@ -30,6 +30,7 @@ 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

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