Java Code Examples for org.junit.runner.Description#toString()
The following examples show how to use
org.junit.runner.Description#toString() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: JUnitTestEventAdapter.java From pushfish-android with BSD 2-Clause "Simplified" License | 4 votes |
private String className(Description description) { Matcher matcher = methodStringMatcher(description); return matcher.matches() ? matcher.group(2) : description.toString(); }
Example 2
Source File: JUnitTestEventAdapter.java From pushfish-android with BSD 2-Clause "Simplified" License | 4 votes |
private String className(Description description) { Matcher matcher = methodStringMatcher(description); return matcher.matches() ? matcher.group(2) : description.toString(); }
Example 3
Source File: JUnitTestEventAdapter.java From Pushjet-Android with BSD 2-Clause "Simplified" License | 4 votes |
private String className(Description description) { Matcher matcher = methodStringMatcher(description); return matcher.matches() ? matcher.group(2) : description.toString(); }
Example 4
Source File: JUnitTestEventAdapter.java From Pushjet-Android with BSD 2-Clause "Simplified" License | 4 votes |
private String className(Description description) { Matcher matcher = methodStringMatcher(description); return matcher.matches() ? matcher.group(2) : description.toString(); }
Example 5
Source File: JUnitCustomRunnerTestUnitFinder.java From pitest with Apache License 2.0 | 4 votes |
private Filter createFilterFor(final Description description) { return new DescriptionFilter(description.toString()); }