junit.textui
Class ResultPrinter

java.lang.Object
  extended by junit.textui.ResultPrinter

public class ResultPrinter
extends Object


Constructor Summary
ResultPrinter(PrintStream writer)
           
 
Method Summary
 void addError(Test test, Throwable t)
           
 void addFailure(Test test, AssertionFailedError t)
           
 void endTest(Test test)
           
 PrintStream getWriter()
           
 void printDefect(TestFailure booBoo, int count)
           
 void startTest(Test test)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultPrinter

public ResultPrinter(PrintStream writer)
Method Detail

printDefect

public void printDefect(TestFailure booBoo,
                        int count)

getWriter

public PrintStream getWriter()

addError

public void addError(Test test,
                     Throwable t)
See Also:
junit.framework.TestListener#addError(Test, Throwable)

addFailure

public void addFailure(Test test,
                       AssertionFailedError t)
See Also:
junit.framework.TestListener#addFailure(Test, AssertionFailedError)

endTest

public void endTest(Test test)
See Also:
junit.framework.TestListener#endTest(Test)

startTest

public void startTest(Test test)
See Also:
junit.framework.TestListener#startTest(Test)