Package org.springframework.test.context.web
Web support classes for the Spring TestContext Framework.
Class Summary Class Description AbstractGenericWebContextLoader Abstract, generic extension ofAbstractContextLoader
that loads aGenericWebApplicationContext
.AnnotationConfigWebContextLoader Concrete implementation ofAbstractGenericWebContextLoader
that loads bean definitions from annotated classes.GenericGroovyXmlWebContextLoader Concrete implementation ofAbstractGenericWebContextLoader
that loads bean definitions from Groovy scripts and XML configuration files.GenericXmlWebContextLoader Concrete implementation ofAbstractGenericWebContextLoader
that loads bean definitions from XML resources.ServletTestExecutionListener TestExecutionListener
which provides mock Servlet API support toWebApplicationContexts
loaded by the Spring TestContext Framework.WebDelegatingSmartContextLoader WebDelegatingSmartContextLoader
is a concrete implementation ofAbstractDelegatingSmartContextLoader
that delegates to aGenericXmlWebContextLoader
(or aGenericGroovyXmlWebContextLoader
if Groovy is present on the classpath) and anAnnotationConfigWebContextLoader
.WebMergedContextConfiguration WebMergedContextConfiguration
encapsulates the merged context configuration declared on a test class and all of its superclasses via@ContextConfiguration
,@WebAppConfiguration
, and@ActiveProfiles
.WebTestContextBootstrapper Web-specific implementation of theTestContextBootstrapper
SPI.Annotation Types Summary Annotation Type Description WebAppConfiguration @WebAppConfiguration
is a class-level annotation that is used to declare that theApplicationContext
loaded for an integration test should be aWebApplicationContext
.