From 180f41c4c5740fe09a4cbf5eca36554d0c1636a6 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Mon, 28 Oct 2013 02:04:24 +0100 Subject: [PATCH] Renamed @WebTests to @WebTest @WebTests has been renamed to @WebTest so that the Gradle build does not attempt to run it as a JUnit test. --- .../test/context/web/MetaAnnotationConfigWacTests.java | 4 ++-- .../test/context/web/{WebTests.java => WebTest.java} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename spring-test/src/test/java/org/springframework/test/context/web/{WebTests.java => WebTest.java} (97%) diff --git a/spring-test/src/test/java/org/springframework/test/context/web/MetaAnnotationConfigWacTests.java b/spring-test/src/test/java/org/springframework/test/context/web/MetaAnnotationConfigWacTests.java index 7bd62b0b76..53252245dd 100644 --- a/spring-test/src/test/java/org/springframework/test/context/web/MetaAnnotationConfigWacTests.java +++ b/spring-test/src/test/java/org/springframework/test/context/web/MetaAnnotationConfigWacTests.java @@ -33,10 +33,10 @@ import static org.junit.Assert.*; * * @author Sam Brannen * @since 4.0 - * @see WebTests + * @see WebTest */ @RunWith(SpringJUnit4ClassRunner.class) -@WebTests +@WebTest public class MetaAnnotationConfigWacTests { @Autowired diff --git a/spring-test/src/test/java/org/springframework/test/context/web/WebTests.java b/spring-test/src/test/java/org/springframework/test/context/web/WebTest.java similarity index 97% rename from spring-test/src/test/java/org/springframework/test/context/web/WebTests.java rename to spring-test/src/test/java/org/springframework/test/context/web/WebTest.java index 604dca2e4b..2d9acc94e2 100644 --- a/spring-test/src/test/java/org/springframework/test/context/web/WebTests.java +++ b/spring-test/src/test/java/org/springframework/test/context/web/WebTest.java @@ -33,7 +33,7 @@ import org.springframework.test.context.ContextConfiguration; @WebAppConfiguration @ContextConfiguration @Retention(RetentionPolicy.RUNTIME) -public @interface WebTests { +public @interface WebTest { @Configuration static class Config {