public void test_computeDependencies_methodCodeInitBlock() {
for (boolean apiOnly : FALSE_TRUE) {
final SortedSet<String> expected = new TreeSet<String>();
//
addSlashedName(expected, Object.class);
//
if (apiOnly) {
} else {
addSlashedName(expected, ClassDepsParserTest.class);
//
if (BUG_JDK_8136419_FIXED) {
addSlashedName(expected, A_TYPE_USE_R_COMPLEX.class);
addSlashedName(expected, Long.class);
addSlashedName(expected, RoundingMode.class);
addSlashedName(expected, Documented.class);
}
addSlashedName(expected, Integer.class);
addSlashedName(expected, MyBlackHole.class);
addSlashedName(expected, RuntimeException.class);
}
computeDepsAndCheck(MyMethodCodeInitBlock.class.getName(), apiOnly, expected);
}
}
ClassDepsParserTest.java 文件源码
java
阅读 37
收藏 0
点赞 0
评论 0
项目:jadecy
作者:
评论列表
文章目录