|
|
@ -212,7 +212,7 @@ public class SpringApplicationContextLoader extends AbstractContextLoader {
|
|
|
|
public void processContextConfiguration(
|
|
|
|
public void processContextConfiguration(
|
|
|
|
ContextConfigurationAttributes configAttributes) {
|
|
|
|
ContextConfigurationAttributes configAttributes) {
|
|
|
|
super.processContextConfiguration(configAttributes);
|
|
|
|
super.processContextConfiguration(configAttributes);
|
|
|
|
if (!configAttributes.hasLocations() && !configAttributes.hasClasses()) {
|
|
|
|
if (!configAttributes.hasResources()) {
|
|
|
|
Class<?>[] defaultConfigClasses = detectDefaultConfigurationClasses(configAttributes
|
|
|
|
Class<?>[] defaultConfigClasses = detectDefaultConfigurationClasses(configAttributes
|
|
|
|
.getDeclaringClass());
|
|
|
|
.getDeclaringClass());
|
|
|
|
configAttributes.setClasses(defaultConfigClasses);
|
|
|
|
configAttributes.setClasses(defaultConfigClasses);
|
|
|
|