mondrian.test
Class MondrianResultPrinter
java.lang.Object
mondrian.test.MondrianResultPrinter
- All Implemented Interfaces:
- junit.framework.TestListener
public class MondrianResultPrinter
- extends Object
- implements junit.framework.TestListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fWriter
PrintStream fWriter
fStarted
int fStarted
MondrianResultPrinter
public MondrianResultPrinter(PrintStream writer)
print
void print(junit.framework.TestResult result,
long runTime)
printWaitPrompt
void printWaitPrompt()
printHeader
protected void printHeader()
printErrors
protected void printErrors(junit.framework.TestResult result)
printFailures
protected void printFailures(junit.framework.TestResult result)
printDefects
protected void printDefects(Enumeration booBoos,
int count,
String type)
printDefect
public void printDefect(junit.framework.TestFailure booBoo,
int count)
printDefectHeader
protected void printDefectHeader(junit.framework.TestFailure booBoo,
int count)
printDefectTrace
protected void printDefectTrace(junit.framework.TestFailure booBoo)
printFooter
protected void printFooter(long runTime,
junit.framework.TestResult result)
elapsedTimeAsString
protected String elapsedTimeAsString(long runTime)
- Returns the formatted string of the elapsed time.
Duplicated from BaseTestRunner. Fix it.
getWriter
public PrintStream getWriter()
addError
public void addError(junit.framework.Test test,
Throwable t)
- Specified by:
addError
in interface junit.framework.TestListener
- See Also:
TestListener.addError(Test, Throwable)
addFailure
public void addFailure(junit.framework.Test test,
junit.framework.AssertionFailedError t)
- Specified by:
addFailure
in interface junit.framework.TestListener
- See Also:
TestListener.addFailure(Test, AssertionFailedError)
endTest
public void endTest(junit.framework.Test test)
- Specified by:
endTest
in interface junit.framework.TestListener
- See Also:
TestListener.endTest(Test)
startTest
public void startTest(junit.framework.Test test)
- Specified by:
startTest
in interface junit.framework.TestListener
- See Also:
TestListener.startTest(Test)