|
|
@ -44,11 +44,15 @@ public class SpringBootDependencyInjectionTestExecutionListener
|
|
|
|
super.prepareTestInstance(testContext);
|
|
|
|
super.prepareTestInstance(testContext);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
catch (Exception ex) {
|
|
|
|
catch (Exception ex) {
|
|
|
|
ApplicationContext context = testContext.getApplicationContext();
|
|
|
|
try {
|
|
|
|
if (context instanceof ConfigurableApplicationContext) {
|
|
|
|
ApplicationContext context = testContext.getApplicationContext();
|
|
|
|
ConditionEvaluationReport report = ConditionEvaluationReport
|
|
|
|
if (context instanceof ConfigurableApplicationContext) {
|
|
|
|
.get(((ConfigurableApplicationContext) context).getBeanFactory());
|
|
|
|
ConditionEvaluationReport report = ConditionEvaluationReport
|
|
|
|
System.err.println(new ConditionEvaluationReportMessage(report));
|
|
|
|
.get(((ConfigurableApplicationContext) context).getBeanFactory());
|
|
|
|
|
|
|
|
System.err.println(new ConditionEvaluationReportMessage(report));
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
catch (Exception ignore) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
throw ex;
|
|
|
|
throw ex;
|
|
|
|
}
|
|
|
|
}
|
|
|
|