java.lang.Object | +--junit.textui.ResultPrinterAll Implemented Interfaces:
ResultPrinter(PrintStream writer) |
void | |
void | addFailure(Test test, AssertionFailedError t) |
String | elapsedTimeAsString(long runTime) Returns the formatted string of the elapsed time. |
void | |
PrintStream | |
void | printDefect(TestFailure booBoo, int count) |
void | printDefectHeader(TestFailure booBoo, int count) |
void | printDefectTrace(TestFailure booBoo) |
void | printDefects(Enumeration booBoos, int count, String type) |
void | printErrors(TestResult result) |
void | printFailures(TestResult result) |
void | printFooter(TestResult result) |
void | printHeader(long runTime) |
void |
public ResultPrinter(PrintStream writer)
public void addError(Test test, Throwable t)
junit.framework.TestListener.addError(Test,Throwable)
public void addFailure(Test test, AssertionFailedError t)
junit.framework.TestListener.addFailure(Test,AssertionFailedError)
protected String elapsedTimeAsString(long runTime)
public void endTest(Test test)
junit.framework.TestListener.endTest(Test)
public PrintStream getWriter()
public void printDefect(TestFailure booBoo, int count)
protected void printDefectHeader(TestFailure booBoo, int count)
protected void printDefectTrace(TestFailure booBoo)
protected void printDefects(Enumeration booBoos, int count, String type)
protected void printErrors(TestResult result)
protected void printFailures(TestResult result)
protected void printFooter(TestResult result)
protected void printHeader(long runTime)
public void startTest(Test test)
junit.framework.TestListener.startTest(Test)