Browse Source

Remove a Groovy test already covered by testConfigFileParsingError()

The removed test testConfigFileParsingErrorWhenNamedBeans() could cause
a groovyc compilation error, for example when using latest IntelliJ IDEA.

Issue: SPR-12435
pull/701/head
Sebastien Deleuze 11 years ago
parent
commit
f39c505069
  1. 5
      spring-context/src/test/java/org/springframework/context/groovy/GroovyApplicationContextTests.java
  2. 6
      spring-context/src/test/java/org/springframework/context/groovy/beans.groovy

5
spring-context/src/test/java/org/springframework/context/groovy/GroovyApplicationContextTests.java

@ -74,9 +74,4 @@ public class GroovyApplicationContextTests { @@ -74,9 +74,4 @@ public class GroovyApplicationContextTests {
new GenericGroovyApplicationContext("org/springframework/context/groovy/applicationContext-error.groovy");
}
@Test(expected = BeanDefinitionParsingException.class)
public void testConfigFileParsingErrorWhenNamedBeans() {
new GenericGroovyApplicationContext("org/springframework/context/groovy/beans.groovy");
}
}

6
spring-context/src/test/java/org/springframework/context/groovy/beans.groovy

@ -1,6 +0,0 @@ @@ -1,6 +0,0 @@
package org.springframework.context.groovy
beans = {
framework String, 'Grails'
foo String, 'hello'
}
Loading…
Cancel
Save