@Override
public boolean exclude(final Class<?> testClass) {
for (final Annotation annotation : Arrays.asList(testClass.getAnnotations())) {
if (annotation instanceof VertxProfile && "vertx".equals(this.msaProvider)) {
return false;
} else if (annotation instanceof SpringBootProfile && "springboot".equals(this.msaProvider)) {
return false;
} else if (annotation instanceof WildFlySwarmProfile && "wildfly-swarm".equals(this.msaProvider)) {
return false;
} else if (annotation instanceof JavaS2IProfile && "java-s2i".equals(this.msaProvider)) {
return false;
}
}
return true;
}
MsaProfileFilter.java 文件源码
java
阅读 35
收藏 0
点赞 0
评论 0
项目:xtf
作者:
评论列表
文章目录