bb.util
Class JUnitExecutor.RunListenerAbstract
java.lang.Object
org.junit.runner.notification.RunListener
bb.util.JUnitExecutor.RunListenerAbstract
- Direct Known Subclasses:
- JUnitExecutor.FindTestEvents, JUnitExecutor.StdStreamSwapper, JUnitExecutor.TestRunEvents
- Enclosing class:
- JUnitExecutor
private abstract static class JUnitExecutor.RunListenerAbstract
- extends RunListener
Defines some common functionality used by a couple of (otherwise very different) RunListener implementations.
This class is multithread safe: every method is synchronized.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
className
protected String className
methodName
protected String methodName
JUnitExecutor.RunListenerAbstract
protected JUnitExecutor.RunListenerAbstract()
parseNames
protected boolean parseNames(Description description)
throws IllegalStateException
- Parses the class name and method name out of description
and assigns the results to
className
and methodName
.
- Returns:
- true if className is the same as before, false otherwise
- Throws:
IllegalStateException