|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.textui.ResultPrinter
org.apache.jdo.tck.util.BatchResultPrinter
Default result printer implementation for running tests in batch mode.
Constructor Summary | |
BatchResultPrinter(org.apache.jdo.tck.util.ConsoleFileOutput consoleFileOutput)
|
|
BatchResultPrinter(java.io.PrintStream writer)
|
Method Summary | |
void |
addError(junit.framework.Test test,
java.lang.Throwable t)
Called in case of a test error. |
void |
addFailure(junit.framework.Test test,
junit.framework.AssertionFailedError t)
Called in case of a test failure. |
protected java.lang.String |
elapsedTimeAsString(long runTime)
|
void |
endTest(junit.framework.Test test)
Called when a test case is finished. |
protected void |
printFooter(junit.framework.TestResult result)
|
protected void |
printHeader(long runTime)
|
void |
startTest(junit.framework.Test test)
Called when a test case is started. |
Methods inherited from class junit.textui.ResultPrinter |
getWriter, printDefect, printDefectHeader, printDefects, printDefectTrace, printErrors, printFailures |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BatchResultPrinter(org.apache.jdo.tck.util.ConsoleFileOutput consoleFileOutput)
public BatchResultPrinter(java.io.PrintStream writer)
Method Detail |
public void addError(junit.framework.Test test, java.lang.Throwable t)
public void addFailure(junit.framework.Test test, junit.framework.AssertionFailedError t)
public void endTest(junit.framework.Test test)
public void startTest(junit.framework.Test test)
protected java.lang.String elapsedTimeAsString(long runTime)
ResultPrinter.elapsedTimeAsString(long)
protected void printHeader(long runTime)
protected void printFooter(junit.framework.TestResult result)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |