From abfb87d1a38774cb94eefa7d999e7eb4643dc1ce Mon Sep 17 00:00:00 2001 From: dreis2211 Date: Mon, 14 Oct 2019 22:01:34 +0200 Subject: [PATCH] Rename tests to match Surefire expectations See gh-18579 --- ...atorTest.java => ElasticsearchRestHealthIndicatorTests.java} | 2 +- ...ortFileWriterTest.java => WebServerPortFileWriterTests.java} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/elasticsearch/{ElasticsearchRestHealthIndicatorTest.java => ElasticsearchRestHealthIndicatorTests.java} (99%) rename spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/context/{WebServerPortFileWriterTest.java => WebServerPortFileWriterTests.java} (99%) diff --git a/spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/elasticsearch/ElasticsearchRestHealthIndicatorTest.java b/spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/elasticsearch/ElasticsearchRestHealthIndicatorTests.java similarity index 99% rename from spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/elasticsearch/ElasticsearchRestHealthIndicatorTest.java rename to spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/elasticsearch/ElasticsearchRestHealthIndicatorTests.java index 0e0eab8a70..fcb6321a41 100644 --- a/spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/elasticsearch/ElasticsearchRestHealthIndicatorTest.java +++ b/spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/elasticsearch/ElasticsearchRestHealthIndicatorTests.java @@ -42,7 +42,7 @@ import static org.mockito.Mockito.mock; * @author Artsiom Yudovin * @author Filip Hrisafov */ -public class ElasticsearchRestHealthIndicatorTest { +public class ElasticsearchRestHealthIndicatorTests { private final RestClient restClient = mock(RestClient.class); diff --git a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/context/WebServerPortFileWriterTest.java b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/context/WebServerPortFileWriterTests.java similarity index 99% rename from spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/context/WebServerPortFileWriterTest.java rename to spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/context/WebServerPortFileWriterTests.java index db9a33f9e3..57f9251b3b 100644 --- a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/context/WebServerPortFileWriterTest.java +++ b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/context/WebServerPortFileWriterTests.java @@ -43,7 +43,7 @@ import static org.mockito.Mockito.mock; * @author Phillip Webb * @author Andy Wilkinson */ -public class WebServerPortFileWriterTest { +public class WebServerPortFileWriterTests { @Rule public final TemporaryFolder temporaryFolder = new TemporaryFolder();