Formatting

This commit is contained in:
Phillip Webb
2016-04-24 22:54:27 -07:00
parent 79922360e1
commit 93382648ab
25 changed files with 58 additions and 57 deletions

View File

@@ -37,8 +37,8 @@ import org.springframework.web.servlet.DispatcherServlet;
import static org.assertj.core.api.Assertions.assertThat;
/**
* Base class for {@link SpringBootTest} tests configured to start an embedded
* servlet container
* Base class for {@link SpringBootTest} tests configured to start an embedded servlet
* container
*
* @author Phillip Webb
* @author Andy Wilkinson

View File

@@ -26,8 +26,7 @@ import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
/**
* Tests for {@link SpringBootTest} configured with
* {@link WebEnvironment#DEFINED_PORT}.
* Tests for {@link SpringBootTest} configured with {@link WebEnvironment#DEFINED_PORT}.
*
* @author Phillip Webb
* @author Andy Wilkinson

View File

@@ -26,16 +26,14 @@ import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
/**
* Tests for {@link SpringBootTest} configured with
* {@link WebEnvironment#DEFINED_PORT}.
* Tests for {@link SpringBootTest} configured with {@link WebEnvironment#DEFINED_PORT}.
*
* @author Phillip Webb
* @author Andy Wilkinson
*/
@RunWith(SpringRunner.class)
@DirtiesContext
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT, properties = {
"value=123" })
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT, properties = { "value=123" })
public class SpringBootTestWebEnvironmentRandomPortTests
extends AbstractSpringBootTestEmbeddedWebEnvironmentTests {

View File

@@ -289,8 +289,7 @@ public class JsonContentAssertTests {
}
@Test
public void isEqualToJsonWhenStringIsMatchingAndLenientShouldPass()
throws Exception {
public void isEqualToJsonWhenStringIsMatchingAndLenientShouldPass() throws Exception {
assertThat(forJson(SOURCE)).isEqualToJson(LENIENT_SAME, JSONCompareMode.LENIENT);
}
@@ -329,8 +328,7 @@ public class JsonContentAssertTests {
}
@Test
public void isEqualToJsonWhenBytesAreMatchingAndLenientShouldPass()
throws Exception {
public void isEqualToJsonWhenBytesAreMatchingAndLenientShouldPass() throws Exception {
assertThat(forJson(SOURCE)).isEqualToJson(LENIENT_SAME.getBytes(),
JSONCompareMode.LENIENT);
}

View File

@@ -22,8 +22,8 @@ import org.springframework.context.annotation.Import;
/**
* Config for {@link MockBeanOnTestFieldForExistingBeanIntegrationTests} and
* {@link MockBeanOnTestFieldForExistingBeanCacheIntegrationTests}. Extracted to a shared config
* to trigger caching.
* {@link MockBeanOnTestFieldForExistingBeanCacheIntegrationTests}. Extracted to a shared
* config to trigger caching.
*
* @author Phillip Webb
*/