bb.util
Class JUnitExecutor.FindTestEvents

java.lang.Object
  extended by org.junit.runner.notification.RunListener
      extended by bb.util.JUnitExecutor.RunListenerAbstract
          extended by bb.util.JUnitExecutor.FindTestEvents
Enclosing class:
JUnitExecutor

private static class JUnitExecutor.FindTestEvents
extends JUnitExecutor.RunListenerAbstract

Stores all events that occur while finding classes with JUnit tests, from which it can generate a report.

This class is multithread safe: every method is synchronized.


Field Summary
private  Set<Class> classesNeedTests
           
private  SortedSet<String> loadFailures
           
 
Fields inherited from class bb.util.JUnitExecutor.RunListenerAbstract
className, methodName
 
Constructor Summary
private JUnitExecutor.FindTestEvents()
           
 
Method Summary
private  void classLoadFailed(File classFile, Throwable t)
           
private  String getEvents()
           
private  void needsTests(Class c)
           
 
Methods inherited from class bb.util.JUnitExecutor.RunListenerAbstract
parseNames
 
Methods inherited from class org.junit.runner.notification.RunListener
testAssumptionFailure, testFailure, testFinished, testIgnored, testRunFinished, testRunStarted, testStarted
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

classesNeedTests

private final Set<Class> classesNeedTests

loadFailures

private final SortedSet<String> loadFailures
Constructor Detail

JUnitExecutor.FindTestEvents

private JUnitExecutor.FindTestEvents()
Method Detail

needsTests

private void needsTests(Class c)

classLoadFailed

private void classLoadFailed(File classFile,
                             Throwable t)

getEvents

private String getEvents()