public class WebMergedContextConfiguration extends MergedContextConfiguration
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
resourceBasePath |
private static long |
serialVersionUID |
Constructor and Description |
---|
WebMergedContextConfiguration(java.lang.Class<?> testClass,
java.lang.String[] locations,
java.lang.Class<?>[] classes,
java.util.Set<java.lang.Class<? extends ApplicationContextInitializer<? extends ConfigurableApplicationContext>>> contextInitializerClasses,
java.lang.String[] activeProfiles,
java.lang.String resourceBasePath,
ContextLoader contextLoader)
TODO [SPR-9864] Document WebMergedContextConfiguration constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Determine if the supplied object is equal to this
WebMergedContextConfiguration
instance by comparing both object's locations,
annotated classes,
context initializer classes,
active profiles,
resource base path, and the fully
qualified names of their ContextLoaders . |
java.lang.String |
getResourceBasePath()
TODO [SPR-9864] Document getResourceBasePath().
|
int |
hashCode()
Generate a unique hash code for all properties of this
WebMergedContextConfiguration excluding the
test class. |
java.lang.String |
toString()
Provide a String representation of the test class,
locations, annotated classes,
context initializer classes,
active profiles,
resource base path, and the name of the
ContextLoader . |
getActiveProfiles, getClasses, getContextInitializerClasses, getContextLoader, getLocations, getTestClass, nullSafeToString
private static final long serialVersionUID
private final java.lang.String resourceBasePath
public WebMergedContextConfiguration(java.lang.Class<?> testClass, java.lang.String[] locations, java.lang.Class<?>[] classes, java.util.Set<java.lang.Class<? extends ApplicationContextInitializer<? extends ConfigurableApplicationContext>>> contextInitializerClasses, java.lang.String[] activeProfiles, java.lang.String resourceBasePath, ContextLoader contextLoader)
public java.lang.String getResourceBasePath()
public int hashCode()
WebMergedContextConfiguration
excluding the
test class.hashCode
in class MergedContextConfiguration
public boolean equals(java.lang.Object obj)
WebMergedContextConfiguration
instance by comparing both object's locations,
annotated classes,
context initializer classes,
active profiles,
resource base path, and the fully
qualified names of their ContextLoaders
.equals
in class MergedContextConfiguration
public java.lang.String toString()
ContextLoader
.toString
in class MergedContextConfiguration