Browse Source

Polish

See gh-33966
pull/34029/head
Johnny Lim 3 years ago committed by Moritz Halbritter
parent
commit
5eeb429e44
  1. 2
      buildSrc/src/test/java/org/springframework/boot/build/bom/bomr/version/DependencyVersionTests.java
  2. 4
      spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/health/AbstractReactiveHealthIndicatorTests.java
  3. 2
      spring-boot-project/spring-boot-docs/src/main/java/org/springframework/boot/docs/howto/webserver/discoverport/MyWebIntegrationTests.java
  4. 2
      spring-boot-project/spring-boot-test/src/test/java/org/springframework/boot/test/context/runner/ApplicationContextRunnerTests.java
  5. 2
      spring-boot-project/spring-boot-test/src/test/java/org/springframework/boot/test/context/runner/ReactiveWebApplicationContextRunnerTests.java

2
buildSrc/src/test/java/org/springframework/boot/build/bom/bomr/version/DependencyVersionTests.java

@ -44,7 +44,7 @@ class DependencyVersionTests { @@ -44,7 +44,7 @@ class DependencyVersionTests {
}
@Test
void parseWhe5ComponentsShouldReturnNumericQualifierDependencyVersion() {
void parseWhen5ComponentsShouldReturnNumericQualifierDependencyVersion() {
assertThat(DependencyVersion.parse("1.2.3.4.5")).isInstanceOf(MultipleComponentsDependencyVersion.class);
}

4
spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/health/AbstractReactiveHealthIndicatorTests.java

@ -49,7 +49,7 @@ class AbstractReactiveHealthIndicatorTests { @@ -49,7 +49,7 @@ class AbstractReactiveHealthIndicatorTests {
}
@Test
void healthCheckWhenDownWithExceptionThrownDoesNotLogHealthCheckFailedMessage(CapturedOutput output) {
void healthCheckWhenDownWithExceptionThrownLogsHealthCheckFailedMessage(CapturedOutput output) {
Health health = new AbstractReactiveHealthIndicator("Test message") {
@Override
protected Mono<Health> doHealthCheck(Builder builder) {
@ -62,7 +62,7 @@ class AbstractReactiveHealthIndicatorTests { @@ -62,7 +62,7 @@ class AbstractReactiveHealthIndicatorTests {
}
@Test
void healthCheckWhenDownWithExceptionConfiguredDoesNotLogHealthCheckFailedMessage(CapturedOutput output) {
void healthCheckWhenDownWithExceptionConfiguredLogsHealthCheckFailedMessage(CapturedOutput output) {
Health health = new AbstractReactiveHealthIndicator("Test message") {
@Override
protected Mono<Health> doHealthCheck(Builder builder) {

2
spring-boot-project/spring-boot-docs/src/main/java/org/springframework/boot/docs/howto/webserver/discoverport/MyWebIntegrationTests.java

@ -21,7 +21,7 @@ import org.springframework.boot.test.context.SpringBootTest.WebEnvironment; @@ -21,7 +21,7 @@ import org.springframework.boot.test.context.SpringBootTest.WebEnvironment;
import org.springframework.boot.test.web.server.LocalServerPort;
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT)
public class MyWebIntegrationTests {
class MyWebIntegrationTests {
@LocalServerPort
int port;

2
spring-boot-project/spring-boot-test/src/test/java/org/springframework/boot/test/context/runner/ApplicationContextRunnerTests.java

@ -25,7 +25,7 @@ import org.springframework.context.ConfigurableApplicationContext; @@ -25,7 +25,7 @@ import org.springframework.context.ConfigurableApplicationContext;
* @author Stephane Nicoll
* @author Phillip Webb
*/
public class ApplicationContextRunnerTests extends
class ApplicationContextRunnerTests extends
AbstractApplicationContextRunnerTests<ApplicationContextRunner, ConfigurableApplicationContext, AssertableApplicationContext> {
@Override

2
spring-boot-project/spring-boot-test/src/test/java/org/springframework/boot/test/context/runner/ReactiveWebApplicationContextRunnerTests.java

@ -25,7 +25,7 @@ import org.springframework.boot.web.reactive.context.ConfigurableReactiveWebAppl @@ -25,7 +25,7 @@ import org.springframework.boot.web.reactive.context.ConfigurableReactiveWebAppl
* @author Stephane Nicoll
* @author Phillip Webb
*/
public class ReactiveWebApplicationContextRunnerTests extends
class ReactiveWebApplicationContextRunnerTests extends
AbstractApplicationContextRunnerTests<ReactiveWebApplicationContextRunner, ConfigurableReactiveWebApplicationContext, AssertableReactiveWebApplicationContext> {
@Override

Loading…
Cancel
Save