public class UIMAResultPrinter
extends junit.textui.ResultPrinter
implements junit.framework.TestListener
| Constructor and Description |
|---|
UIMAResultPrinter(PrintStream writer,
boolean abortOnFail,
boolean teeOutputStream) |
| Modifier and Type | Method and Description |
|---|---|
void |
addError(junit.framework.Test test,
Throwable t) |
void |
addFailure(junit.framework.Test test,
junit.framework.AssertionFailedError t) |
protected String |
elapsedTimeAsString(long runTime)
Returns the formatted string of the elapsed time.
|
void |
endTest(junit.framework.Test test) |
PrintStream |
getWriter() |
void |
printDefect(junit.framework.TestFailure booBoo,
int count) |
protected void |
printDefectHeader(junit.framework.TestFailure booBoo,
int count) |
protected void |
printDefects(Enumeration booBoos,
int count,
String type) |
protected void |
printDefectTrace(junit.framework.TestFailure booBoo) |
protected void |
printErrors(junit.framework.TestResult result) |
protected void |
printFailures(junit.framework.TestResult result) |
protected void |
printFooter(junit.framework.TestResult result) |
protected void |
printHeader(long runTime) |
void |
startTest(junit.framework.Test test) |
public UIMAResultPrinter(PrintStream writer, boolean abortOnFail, boolean teeOutputStream)
protected void printHeader(long runTime)
printHeader in class junit.textui.ResultPrinterResultPrinter.printHeader(long)protected void printErrors(junit.framework.TestResult result)
printErrors in class junit.textui.ResultPrinterResultPrinter.printErrors(junit.framework.TestResult)protected void printFailures(junit.framework.TestResult result)
printFailures in class junit.textui.ResultPrinterResultPrinter.printFailures(junit.framework.TestResult)protected void printDefects(Enumeration booBoos, int count, String type)
printDefects in class junit.textui.ResultPrinterResultPrinter.printDefects(java.util.Enumeration, int, java.lang.String)public void printDefect(junit.framework.TestFailure booBoo,
int count)
printDefect in class junit.textui.ResultPrinterResultPrinter.printDefect(junit.framework.TestFailure, int)protected void printDefectHeader(junit.framework.TestFailure booBoo,
int count)
printDefectHeader in class junit.textui.ResultPrinterResultPrinter.printDefectHeader(junit.framework.TestFailure, int)protected void printDefectTrace(junit.framework.TestFailure booBoo)
printDefectTrace in class junit.textui.ResultPrinterResultPrinter.printDefectTrace(junit.framework.TestFailure)protected void printFooter(junit.framework.TestResult result)
printFooter in class junit.textui.ResultPrinterResultPrinter.printFooter(junit.framework.TestResult)protected String elapsedTimeAsString(long runTime)
elapsedTimeAsString in class junit.textui.ResultPrinterpublic PrintStream getWriter()
getWriter in class junit.textui.ResultPrinterResultPrinter.getWriter()public void addError(junit.framework.Test test,
Throwable t)
addError in interface junit.framework.TestListeneraddError in class junit.textui.ResultPrinterTestListener.addError(Test, Throwable)public void addFailure(junit.framework.Test test,
junit.framework.AssertionFailedError t)
addFailure in interface junit.framework.TestListeneraddFailure in class junit.textui.ResultPrinterTestListener.addFailure(Test, AssertionFailedError)public void endTest(junit.framework.Test test)
endTest in interface junit.framework.TestListenerendTest in class junit.textui.ResultPrinterTestListener.endTest(Test)public void startTest(junit.framework.Test test)
startTest in interface junit.framework.TestListenerstartTest in class junit.textui.ResultPrinterTestListener.startTest(Test)Copyright © 2018. All rights reserved.