bb.util
Class JUnitExecutor.PrintStreamFeedback

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

private static class JUnitExecutor.PrintStreamFeedback
extends RunListener

Provides console feedback for test events.

This class is multithread safe: every method is synchronized.


Field Summary
private  PrintStream ps
           
 
Constructor Summary
private JUnitExecutor.PrintStreamFeedback(PrintStream ps)
           
 
Method Summary
 void testFailure(Failure failure)
           
 void testFinished(Description description)
           
 void testIgnored(Description description)
           
 void testRunFinished(Result result)
           
 void testRunStarted(Description description)
           
 void testStarted(Description description)
           
 
Methods inherited from class org.junit.runner.notification.RunListener
testAssumptionFailure
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ps

private final PrintStream ps
Constructor Detail

JUnitExecutor.PrintStreamFeedback

private JUnitExecutor.PrintStreamFeedback(PrintStream ps)
Method Detail

testRunStarted

public void testRunStarted(Description description)
Overrides:
testRunStarted in class RunListener

testStarted

public void testStarted(Description description)
Overrides:
testStarted in class RunListener

testIgnored

public void testIgnored(Description description)
Overrides:
testIgnored in class RunListener

testFailure

public void testFailure(Failure failure)
Overrides:
testFailure in class RunListener

testFinished

public void testFinished(Description description)
Overrides:
testFinished in class RunListener

testRunFinished

public void testRunFinished(Result result)
Overrides:
testRunFinished in class RunListener