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

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; @@ -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 {
Loading…
Cancel
Save