Browse Source

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.
pull/392/head
Sam Brannen 12 years ago
parent
commit
180f41c4c5
  1. 4
      spring-test/src/test/java/org/springframework/test/context/web/MetaAnnotationConfigWacTests.java
  2. 2
      spring-test/src/test/java/org/springframework/test/context/web/WebTest.java

4
spring-test/src/test/java/org/springframework/test/context/web/MetaAnnotationConfigWacTests.java

@ -33,10 +33,10 @@ import static org.junit.Assert.*;
* *
* @author Sam Brannen * @author Sam Brannen
* @since 4.0 * @since 4.0
* @see WebTests * @see WebTest
*/ */
@RunWith(SpringJUnit4ClassRunner.class) @RunWith(SpringJUnit4ClassRunner.class)
@WebTests @WebTest
public class MetaAnnotationConfigWacTests { public class MetaAnnotationConfigWacTests {
@Autowired @Autowired

2
spring-test/src/test/java/org/springframework/test/context/web/WebTests.java → spring-test/src/test/java/org/springframework/test/context/web/WebTest.java

@ -33,7 +33,7 @@ import org.springframework.test.context.ContextConfiguration;
@WebAppConfiguration @WebAppConfiguration
@ContextConfiguration @ContextConfiguration
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)
public @interface WebTests { public @interface WebTest {
@Configuration @Configuration
static class Config { static class Config {
Loading…
Cancel
Save