类org.springframework.boot.test.context.SpringBootTest源码实例Demo

下面列出了怎么用org.springframework.boot.test.context.SpringBootTest的API类实例代码及写法,或者点击链接到github查看源代码。

private boolean isEmbeddedSpringBootTest(Class<?> testClass) {
    SpringBootTest annotation = AnnotatedElementUtils.getMergedAnnotation(testClass, SpringBootTest.class);

    return annotation != null && annotation.webEnvironment().isEmbedded();
}
 
 类所在包
 类方法
 同包方法