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.ResultPrinter
ResultPrinter.printHeader(long)
protected void printErrors(junit.framework.TestResult result)
printErrors
in class junit.textui.ResultPrinter
ResultPrinter.printErrors(junit.framework.TestResult)
protected void printFailures(junit.framework.TestResult result)
printFailures
in class junit.textui.ResultPrinter
ResultPrinter.printFailures(junit.framework.TestResult)
protected void printDefects(Enumeration booBoos, int count, String type)
printDefects
in class junit.textui.ResultPrinter
ResultPrinter.printDefects(java.util.Enumeration, int, java.lang.String)
public void printDefect(junit.framework.TestFailure booBoo, int count)
printDefect
in class junit.textui.ResultPrinter
ResultPrinter.printDefect(junit.framework.TestFailure, int)
protected void printDefectHeader(junit.framework.TestFailure booBoo, int count)
printDefectHeader
in class junit.textui.ResultPrinter
ResultPrinter.printDefectHeader(junit.framework.TestFailure, int)
protected void printDefectTrace(junit.framework.TestFailure booBoo)
printDefectTrace
in class junit.textui.ResultPrinter
ResultPrinter.printDefectTrace(junit.framework.TestFailure)
protected void printFooter(junit.framework.TestResult result)
printFooter
in class junit.textui.ResultPrinter
ResultPrinter.printFooter(junit.framework.TestResult)
protected String elapsedTimeAsString(long runTime)
elapsedTimeAsString
in class junit.textui.ResultPrinter
public PrintStream getWriter()
getWriter
in class junit.textui.ResultPrinter
ResultPrinter.getWriter()
public void addError(junit.framework.Test test, Throwable t)
addError
in interface junit.framework.TestListener
addError
in class junit.textui.ResultPrinter
TestListener.addError(Test, Throwable)
public void addFailure(junit.framework.Test test, junit.framework.AssertionFailedError t)
addFailure
in interface junit.framework.TestListener
addFailure
in class junit.textui.ResultPrinter
TestListener.addFailure(Test, AssertionFailedError)
public void endTest(junit.framework.Test test)
endTest
in interface junit.framework.TestListener
endTest
in class junit.textui.ResultPrinter
TestListener.endTest(Test)
public void startTest(junit.framework.Test test)
startTest
in interface junit.framework.TestListener
startTest
in class junit.textui.ResultPrinter
TestListener.startTest(Test)
Copyright © 2006–2023 The Apache Software Foundation. All rights reserved.