Package mondrian.test
Class MondrianResultPrinter
- java.lang.Object
-
- mondrian.test.MondrianResultPrinter
-
public class MondrianResultPrinter extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description MondrianResultPrinter(java.io.PrintStream writer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addError(Test test, java.lang.Throwable t)
void
addFailure(Test test, AssertionFailedError t)
protected java.lang.String
elapsedTimeAsString(long runTime)
Returns the formatted string of the elapsed time.void
endTest(Test test)
java.io.PrintStream
getWriter()
(package private) void
print(TestResult result, long runTime)
void
printDefect(TestFailure booBoo, int count)
protected void
printDefectHeader(TestFailure booBoo, int count)
protected void
printDefects(java.util.Enumeration booBoos, int count, java.lang.String type)
protected void
printDefectTrace(TestFailure booBoo)
protected void
printErrors(TestResult result)
protected void
printFailures(TestResult result)
protected void
printFooter(long runTime, TestResult result)
protected void
printHeader()
(package private) void
printWaitPrompt()
void
startTest(Test test)
-
-
-
Method Detail
-
print
void print(TestResult result, long runTime)
-
printWaitPrompt
void printWaitPrompt()
-
printHeader
protected void printHeader()
-
printErrors
protected void printErrors(TestResult result)
-
printFailures
protected void printFailures(TestResult result)
-
printDefects
protected void printDefects(java.util.Enumeration booBoos, int count, java.lang.String type)
-
printDefect
public void printDefect(TestFailure booBoo, int count)
-
printDefectHeader
protected void printDefectHeader(TestFailure booBoo, int count)
-
printDefectTrace
protected void printDefectTrace(TestFailure booBoo)
-
printFooter
protected void printFooter(long runTime, TestResult result)
-
elapsedTimeAsString
protected java.lang.String elapsedTimeAsString(long runTime)
Returns the formatted string of the elapsed time. Duplicated from BaseTestRunner. Fix it.
-
getWriter
public java.io.PrintStream getWriter()
-
addError
public void addError(Test test, java.lang.Throwable t)
- See Also:
junit.framework.TestListener#addError(Test, Throwable)
-
addFailure
public void addFailure(Test test, AssertionFailedError t)
- See Also:
junit.framework.TestListener#addFailure(Test, AssertionFailedError)
-
endTest
public void endTest(Test test)
- See Also:
junit.framework.TestListener#endTest(Test)
-
startTest
public void startTest(Test test)
- See Also:
junit.framework.TestListener#startTest(Test)
-
-