open class WebMergedContextConfiguration : MergedContextConfiguration
WebMergedContextConfiguration encapsulates the merged context configuration declared on a test class and all of its superclasses via org.springframework.test.context.ContextConfiguration, WebAppConfiguration, and org.springframework.test.context.ActiveProfiles.
WebMergedContextConfiguration extends the contract of MergedContextConfiguration by adding support for the configured via @WebAppConfiguration. This allows the org.springframework.test.context.TestContext to properly cache the corresponding that was loaded using properties of this WebMergedContextConfiguration.
Author
Sam Brannen
Since
3.2
See Also
WebAppConfigurationMergedContextConfigurationorg.springframework.test.context.ContextConfigurationorg.springframework.test.context.ActiveProfilesorg.springframework.test.context.ContextConfigurationAttributesorg.springframework.test.context.SmartContextLoader#loadContext(MergedContextConfiguration)
WebMergedContextConfiguration(mergedConfig: MergedContextConfiguration, resourceBasePath: String)
Create a new If an empty value is supplied for the WebMergedContextConfiguration(testClass: Class<*>, locations: Array<String>, classes: Array<Class<*>>, contextInitializerClasses: MutableSet<Class<out ApplicationContextInitializer<*>>>, activeProfiles: Array<String>, propertySourceLocations: Array<String>, propertySourceProperties: Array<String>, resourceBasePath: String, contextLoader: ContextLoader, cacheAwareContextLoaderDelegate: CacheAwareContextLoaderDelegate, parent: MergedContextConfiguration)
Create a new If a WebMergedContextConfiguration(testClass: Class<*>, locations: Array<String>, classes: Array<Class<*>>, contextInitializerClasses: MutableSet<Class<out ApplicationContextInitializer<*>>>, activeProfiles: Array<String>, propertySourceLocations: Array<String>, propertySourceProperties: Array<String>, contextCustomizers: MutableSet<ContextCustomizer>, resourceBasePath: String, contextLoader: ContextLoader, cacheAwareContextLoaderDelegate: CacheAwareContextLoaderDelegate, parent: MergedContextConfiguration)
Create a new If a |
open fun equals(other: Any?): Boolean
Determine if the supplied object is equal to this |
|
open fun getResourceBasePath(): String
Get the resource path to the root directory of the web application for the test class, configured via |
|
open fun hashCode(): Int
Generate a unique hash code for all properties of this |
|
open fun toString(): String
Provide a String representation of the test class, locations, annotated classes, context initializer classes, active profiles, property source locations, property source properties, context customizers, resource base path, the name of the |