Java 类org.springframework.test.context.support.AnnotationConfigContextLoaderUtils 实例源码

项目:spring4-understanding    文件:AnnotationConfigWebContextLoader.java   
/**
 * Detect the default configuration classes for the supplied test class.
 *
 * <p>The default implementation simply delegates to
 * {@link AnnotationConfigContextLoaderUtils#detectDefaultConfigurationClasses(Class)}.
 *
 * @param declaringClass the test class that declared {@code @ContextConfiguration}
 * @return an array of default configuration classes, potentially empty but
 * never {@code null}
 * @see AnnotationConfigContextLoaderUtils
 */
protected Class<?>[] detectDefaultConfigurationClasses(Class<?> declaringClass) {
    return AnnotationConfigContextLoaderUtils.detectDefaultConfigurationClasses(declaringClass);
}
项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:SpringApplicationContextLoader.java   
/**
 * Detect the default configuration classes for the supplied test class. By default
 * simply delegates to
 * {@link AnnotationConfigContextLoaderUtils#detectDefaultConfigurationClasses} .
 * @param declaringClass the test class that declared {@code @ContextConfiguration}
 * @return an array of default configuration classes, potentially empty but never
 * {@code null}
 * @see AnnotationConfigContextLoaderUtils
 */
protected Class<?>[] detectDefaultConfigurationClasses(Class<?> declaringClass) {
    return AnnotationConfigContextLoaderUtils
            .detectDefaultConfigurationClasses(declaringClass);
}
项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:SpringBootContextLoader.java   
/**
 * Detect the default configuration classes for the supplied test class. By default
 * simply delegates to
 * {@link AnnotationConfigContextLoaderUtils#detectDefaultConfigurationClasses} .
 * @param declaringClass the test class that declared {@code @ContextConfiguration}
 * @return an array of default configuration classes, potentially empty but never
 * {@code null}
 * @see AnnotationConfigContextLoaderUtils
 */
protected Class<?>[] detectDefaultConfigurationClasses(Class<?> declaringClass) {
    return AnnotationConfigContextLoaderUtils
            .detectDefaultConfigurationClasses(declaringClass);
}
项目:spring-boot-concourse    文件:SpringApplicationContextLoader.java   
/**
 * Detect the default configuration classes for the supplied test class. By default
 * simply delegates to
 * {@link AnnotationConfigContextLoaderUtils#detectDefaultConfigurationClasses} .
 * @param declaringClass the test class that declared {@code @ContextConfiguration}
 * @return an array of default configuration classes, potentially empty but never
 * {@code null}
 * @see AnnotationConfigContextLoaderUtils
 */
protected Class<?>[] detectDefaultConfigurationClasses(Class<?> declaringClass) {
    return AnnotationConfigContextLoaderUtils
            .detectDefaultConfigurationClasses(declaringClass);
}
项目:spring-boot-concourse    文件:SpringBootContextLoader.java   
/**
 * Detect the default configuration classes for the supplied test class. By default
 * simply delegates to
 * {@link AnnotationConfigContextLoaderUtils#detectDefaultConfigurationClasses} .
 * @param declaringClass the test class that declared {@code @ContextConfiguration}
 * @return an array of default configuration classes, potentially empty but never
 * {@code null}
 * @see AnnotationConfigContextLoaderUtils
 */
protected Class<?>[] detectDefaultConfigurationClasses(Class<?> declaringClass) {
    return AnnotationConfigContextLoaderUtils
            .detectDefaultConfigurationClasses(declaringClass);
}
项目:contestparser    文件:SpringApplicationContextLoader.java   
/**
 * Detect the default configuration classes for the supplied test class. By default
 * simply delegates to
 * {@link AnnotationConfigContextLoaderUtils#detectDefaultConfigurationClasses} .
 * @param declaringClass the test class that declared {@code @ContextConfiguration}
 * @return an array of default configuration classes, potentially empty but never
 * {@code null}
 * @see AnnotationConfigContextLoaderUtils
 */
protected Class<?>[] detectDefaultConfigurationClasses(Class<?> declaringClass) {
    return AnnotationConfigContextLoaderUtils
            .detectDefaultConfigurationClasses(declaringClass);
}
项目:class-guard    文件:AnnotationConfigWebContextLoader.java   
/**
 * Detect the default configuration classes for the supplied test class.
 *
 * <p>The default implementation simply delegates to
 * {@link AnnotationConfigContextLoaderUtils#detectDefaultConfigurationClasses(Class)}.
 *
 * @param declaringClass the test class that declared {@code @ContextConfiguration}
 * @return an array of default configuration classes, potentially empty but
 * never {@code null}
 * @see AnnotationConfigContextLoaderUtils
 */
protected Class<?>[] detectDefaultConfigurationClasses(Class<?> declaringClass) {
    return AnnotationConfigContextLoaderUtils.detectDefaultConfigurationClasses(declaringClass);
}