Merge pull request #33966 from izeye

* pr/33966:
  Polish

Closes gh-33966
pull/34029/head
Moritz Halbritter 2 years ago
commit 276027536c

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

@ -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 {
}
@Test
void healthCheckWhenDownWithExceptionConfiguredDoesNotLogHealthCheckFailedMessage(CapturedOutput output) {
void healthCheckWhenDownWithExceptionConfiguredLogsHealthCheckFailedMessage(CapturedOutput output) {
Health health = new AbstractReactiveHealthIndicator("Test message") {
@Override
protected Mono<Health> doHealthCheck(Builder builder) {

@ -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;

@ -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

@ -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