下面列出了org.junit.runner.Description#toString() 实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。
private String className(Description description) {
Matcher matcher = methodStringMatcher(description);
return matcher.matches() ? matcher.group(2) : description.toString();
}
private String className(Description description) {
Matcher matcher = methodStringMatcher(description);
return matcher.matches() ? matcher.group(2) : description.toString();
}
private String className(Description description) {
Matcher matcher = methodStringMatcher(description);
return matcher.matches() ? matcher.group(2) : description.toString();
}
private String className(Description description) {
Matcher matcher = methodStringMatcher(description);
return matcher.matches() ? matcher.group(2) : description.toString();
}
private Filter createFilterFor(final Description description) {
return new DescriptionFilter(description.toString());
}