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