Generated by
JDiff

Class org.springframework.test.context.support.AbstractContextLoader

Documentation changed from old to new.

Added Methods
void prepareContext(ConfigurableApplicationContext, MergedContextConfiguration) Prepare the ConfigurableApplicationContext created by this {@code SmartContextLoader} before bean definitions are read.
 

Changed Methods
String[] generateDefaultLocations(Class<?>) Documentation changed from old to new.
Generate the default classpath resource locations array based on the supplied class.
String getResourceSuffix() Documentation changed from old to new.
Get the suffix to append to ApplicationContext resource locations when generating default locations.
boolean isGenerateDefaultLocations() Documentation changed from old to new.
Determine whether or not default resource locations should be generated if the locations provided to .processLocations(Class, String...) are null or empty.
String[] modifyLocations(Class<?>, String[]) Documentation changed from old to new.
Generate a modified version of the supplied locations array and return it.
void processContextConfiguration(ContextConfigurationAttributes) Documentation changed from old to new.
For backwards compatibility with the ContextLoader SPI, the default implementation simply delegates to .processLocations(Class, String...), passing it the declaring class and resource locations retrieved from the supplied configuration attributes.
String[] processLocations(Class<?>, String[]) Documentation changed from old to new.
If the supplied locations are null or empty and .isGenerateDefaultLocations() returns true, default locations will be generated for the specified class and the configured resource suffix; otherwise, the supplied locations will be modified if necessary and returned.