Class WebMergedContextConfiguration

java.lang.Object
org.springframework.test.context.MergedContextConfiguration
org.springframework.test.context.web.WebMergedContextConfiguration
All Implemented Interfaces:
Serializable

public class WebMergedContextConfiguration extends MergedContextConfiguration
WebMergedContextConfiguration encapsulates the merged context configuration declared on a test class and all of its superclasses and enclosing classes via @ContextConfiguration, @WebAppConfiguration, @ActiveProfiles, and @TestPropertySource.

WebMergedContextConfiguration extends the contract of MergedContextConfiguration by adding support for the resource base path configured via @WebAppConfiguration. This allows the ContextCache to properly cache the corresponding WebApplicationContext that was loaded using properties of this WebMergedContextConfiguration.

Since:
3.2
Author:
Sam Brannen
See Also: