mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-05 00:56:58 +08:00
Polish
See gh-33966
This commit is contained in:
parent
b81d5900e6
commit
5eeb429e44
@ -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…
Reference in New Issue
Block a user