[SPR-6184] Introduced ResourceType enum for context loaders; documented tests.
This commit is contained in:
@@ -21,7 +21,15 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunnerAppCtxTest
|
||||
import org.springframework.test.context.support.AnnotationConfigContextLoader;
|
||||
|
||||
/**
|
||||
* TODO [SPR-6184] Document tests.
|
||||
* Integration tests that verify support for configuration classes in
|
||||
* the Spring TestContext Framework.
|
||||
*
|
||||
* <p>Furthermore, by extending {@link SpringJUnit4ClassRunnerAppCtxTests},
|
||||
* this class also verifies support for several basic features of the
|
||||
* Spring TestContext Framework. See JavaDoc in
|
||||
* <code>SpringJUnit4ClassRunnerAppCtxTests</code> for details.
|
||||
*
|
||||
* <p>Configuration will be loaded from {@link PojoAndStringConfig}.
|
||||
*
|
||||
* @author Sam Brannen
|
||||
* @since 3.1
|
||||
|
||||
@@ -21,7 +21,8 @@ import org.junit.runners.Suite;
|
||||
import org.junit.runners.Suite.SuiteClasses;
|
||||
|
||||
/**
|
||||
* TODO [SPR-6184] Document tests.
|
||||
* JUnit test suite for annotation-driven <em>configuration class</em>
|
||||
* support in the Spring TestContext Framework.
|
||||
*
|
||||
* @author Sam Brannen
|
||||
* @since 3.1
|
||||
@@ -33,5 +34,5 @@ AnnotationConfigSpringJUnit4ClassRunnerAppCtxTests.class,//
|
||||
DefaultConfigClassBaseTests.class,//
|
||||
DefaultConfigClassInheritedTests.class //
|
||||
})
|
||||
public class AnnotationConfigSuiteTests {
|
||||
public class AnnotationConfigTestSuite {
|
||||
}
|
||||
@@ -28,7 +28,10 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
||||
import org.springframework.test.context.support.AnnotationConfigContextLoader;
|
||||
|
||||
/**
|
||||
* TODO [SPR-6184] Document tests.
|
||||
* Integration tests that verify support for configuration classes in
|
||||
* the Spring TestContext Framework.
|
||||
*
|
||||
* <p>Configuration will be loaded from {@link DefaultConfigClassBaseTestsConfig}.
|
||||
*
|
||||
* @author Sam Brannen
|
||||
* @since 3.1
|
||||
|
||||
@@ -21,7 +21,7 @@ import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
/**
|
||||
* TODO [SPR-6184] Document configuration class.
|
||||
* ApplicationContext configuration class for {@link DefaultConfigClassBaseTests}.
|
||||
*
|
||||
* @author Sam Brannen
|
||||
* @since 3.1
|
||||
|
||||
@@ -25,7 +25,11 @@ import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.test.context.ContextConfiguration;
|
||||
|
||||
/**
|
||||
* TODO [SPR-6184] Document tests.
|
||||
* Integration tests that verify support for configuration classes in
|
||||
* the Spring TestContext Framework.
|
||||
*
|
||||
* <p>Configuration will be loaded from {@link DefaultConfigClassBaseTestsConfig}
|
||||
* and {@link DefaultConfigClassInheritedTestsConfig}.
|
||||
*
|
||||
* @author Sam Brannen
|
||||
* @since 3.1
|
||||
|
||||
@@ -21,7 +21,7 @@ import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
/**
|
||||
* TODO [SPR-6184] Document configuration class.
|
||||
* ApplicationContext configuration class for {@link DefaultConfigClassInheritedTests}.
|
||||
*
|
||||
* @author Sam Brannen
|
||||
* @since 3.1
|
||||
|
||||
@@ -22,7 +22,12 @@ import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
/**
|
||||
* TODO [SPR-6184] Document configuration class.
|
||||
* ApplicationContext configuration class for various integration tests.
|
||||
*
|
||||
* <p>The beans defined in this configuration class map directly to the
|
||||
* beans defined in <code>SpringJUnit4ClassRunnerAppCtxTests-context.xml</code>.
|
||||
* Consequently, the application contexts loaded from these two sources
|
||||
* should be identical with regard to bean definitions.
|
||||
*
|
||||
* @author Sam Brannen
|
||||
* @since 3.1
|
||||
|
||||
Reference in New Issue
Block a user