Package mondrian.test

Class MondrianResultPrinter


  • public class MondrianResultPrinter
    extends Object
    • Constructor Detail

      • MondrianResultPrinter

        public MondrianResultPrinter​(PrintStream writer)
    • 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​(Enumeration booBoos,
                                    int count,
                                    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 String elapsedTimeAsString​(long runTime)
        Returns the formatted string of the elapsed time. Duplicated from BaseTestRunner. Fix it.
      • addError

        public void addError​(Test test,
                             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)