junit.textui
Class ResultPrinter
java.lang.Object
junit.textui.ResultPrinter
- TestListener
public class ResultPrinter
extends java.lang.Object
ResultPrinter
public ResultPrinter(PrintStream writer)
elapsedTimeAsString
protected String elapsedTimeAsString(long runTime)
Returns the formatted string of the elapsed time.
Duplicated from BaseTestRunner. Fix it.
getWriter
public PrintStream getWriter()
printDefect
public void printDefect(TestFailure booBoo,
int count)
printDefectHeader
protected void printDefectHeader(TestFailure booBoo,
int count)
printDefectTrace
protected void printDefectTrace(TestFailure booBoo)
printDefects
protected void printDefects(Enumeration booBoos,
int count,
String type)
printErrors
protected void printErrors(TestResult result)
printFailures
protected void printFailures(TestResult result)
printFooter
protected void printFooter(TestResult result)
printHeader
protected void printHeader(long runTime)