Polish formatting
This commit is contained in:
@@ -26,4 +26,5 @@ package org.springframework.boot.test;
|
||||
*/
|
||||
@Deprecated
|
||||
public class OutputCapture extends org.springframework.boot.test.rule.OutputCapture {
|
||||
|
||||
}
|
||||
|
||||
@@ -276,6 +276,7 @@ class ImportsContextCustomizer implements ContextCustomizer {
|
||||
return (obj != null && getClass().equals(obj.getClass())
|
||||
&& this.annotations.equals(((ContextCustomizerKey) obj).annotations));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -100,4 +100,5 @@ final class SpringBootConfigurationFinder {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -38,8 +38,8 @@ import org.springframework.web.context.WebApplicationContext;
|
||||
|
||||
/**
|
||||
* Annotation that can be specified on a test class that runs Spring Boot based tests.
|
||||
* Provides the following features over and above the regular
|
||||
* <em>Spring TestContext Framework</em>:
|
||||
* Provides the following features over and above the regular <em>Spring TestContext
|
||||
* Framework</em>:
|
||||
* <ul>
|
||||
* <li>Uses {@link SpringBootContextLoader} as the default {@link ContextLoader} when no
|
||||
* specific {@link ContextConfiguration#loader() @ContextConfiguration(loader=...)} is
|
||||
|
||||
@@ -345,6 +345,7 @@ public abstract class AbstractJsonMarshalTester<T> {
|
||||
/**
|
||||
* Utility class used to support field initialization. Used by subclasses to support
|
||||
* {@code initFields}.
|
||||
*
|
||||
* @param <M> The marshaller type
|
||||
*/
|
||||
protected static abstract class FieldInitializer<M> {
|
||||
|
||||
@@ -125,4 +125,5 @@ public class GsonTester<T> extends AbstractJsonMarshalTester<T> {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -110,4 +110,5 @@ public class SpringBootMockServletContext extends MockServletContext {
|
||||
}
|
||||
return resource;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -52,4 +52,5 @@ public class ConfigFileApplicationContextInitializerTests {
|
||||
public static class Config {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -36,7 +36,6 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
* Tests for {@link WebAppConfiguration} using {@link SpringApplicationContextLoader} with
|
||||
* a plain mock Servlet environment.
|
||||
*
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
*/
|
||||
@RunWith(SpringJUnit4ClassRunner.class)
|
||||
|
||||
@@ -50,4 +50,5 @@ public class ConfigFileApplicationContextInitializerTests {
|
||||
public static class Config {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -78,6 +78,7 @@ public class MockBeanWithAsyncInterfaceMethodIntegrationTests {
|
||||
public MyService myService(Transformer transformer) {
|
||||
return new MyService(transformer);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -201,4 +201,5 @@ public class TestRestTemplateTests {
|
||||
.isEqualTo(password);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user