org.junit.runner.Description#toString()源码实例Demo

下面列出了org.junit.runner.Description#toString() 实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。

源代码1 项目: pushfish-android   文件: JUnitTestEventAdapter.java
private String className(Description description) {
    Matcher matcher = methodStringMatcher(description);
    return matcher.matches() ? matcher.group(2) : description.toString();
}
 
源代码2 项目: pushfish-android   文件: JUnitTestEventAdapter.java
private String className(Description description) {
    Matcher matcher = methodStringMatcher(description);
    return matcher.matches() ? matcher.group(2) : description.toString();
}
 
源代码3 项目: Pushjet-Android   文件: JUnitTestEventAdapter.java
private String className(Description description) {
    Matcher matcher = methodStringMatcher(description);
    return matcher.matches() ? matcher.group(2) : description.toString();
}
 
源代码4 项目: Pushjet-Android   文件: JUnitTestEventAdapter.java
private String className(Description description) {
    Matcher matcher = methodStringMatcher(description);
    return matcher.matches() ? matcher.group(2) : description.toString();
}
 
源代码5 项目: pitest   文件: JUnitCustomRunnerTestUnitFinder.java
private Filter createFilterFor(final Description description) {
  return new DescriptionFilter(description.toString());
}