[SPR-6184] Refactored internals of ContextLoaderUtils; @Ignore'd broken test.
This commit is contained in:
@@ -32,13 +32,9 @@ import org.junit.runners.Suite.SuiteClasses;
|
||||
|
||||
AnnotationConfigSpringJUnit4ClassRunnerAppCtxTests.class,
|
||||
|
||||
DefaultConfigClassBaseTests.class
|
||||
DefaultConfigClassBaseTests.class,
|
||||
|
||||
// TODO Uncomment once working. Note that JUnit's Suite runner apparently
|
||||
// does not heed the presence of @Ignore on a suite class, at least not
|
||||
// when run within STS 2.6.0.
|
||||
//
|
||||
// DefaultConfigClassInheritedTests.class
|
||||
DefaultConfigClassInheritedTests.class
|
||||
|
||||
})
|
||||
public class AnnotationConfigSuiteTests {
|
||||
|
||||
@@ -19,7 +19,6 @@ package org.springframework.test.context.junit4.annotation;
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertNotNull;
|
||||
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.springframework.beans.Employee;
|
||||
@@ -34,7 +33,6 @@ import org.springframework.test.context.support.AnnotationConfigContextLoader;
|
||||
* @author Sam Brannen
|
||||
* @since 3.1
|
||||
*/
|
||||
@Ignore("[SPR-6184] Disabled until ContextLoaderUtils supports recursive search for configuration classes")
|
||||
@RunWith(SpringJUnit4ClassRunner.class)
|
||||
@ContextConfiguration(loader = AnnotationConfigContextLoader.class)
|
||||
public class DefaultConfigClassBaseTests {
|
||||
|
||||
@@ -19,6 +19,7 @@ package org.springframework.test.context.junit4.annotation;
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertNotNull;
|
||||
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.springframework.beans.Pet;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
@@ -30,6 +31,7 @@ import org.springframework.test.context.ContextConfiguration;
|
||||
* @author Sam Brannen
|
||||
* @since 3.1
|
||||
*/
|
||||
@Ignore("[SPR-6184] Disabled until ContextLoaderUtils supports recursive search for configuration classes")
|
||||
@ContextConfiguration
|
||||
public class DefaultConfigClassInheritedTests extends DefaultConfigClassBaseTests {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user