org.apache.tools.ant.taskdefs.optional.junit

Interface JUnitResultFormatter

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      void endTestSuite(JUnitTest suite)
      The whole testsuite ended.
      void setOutput(java.io.OutputStream out)
      Sets the stream the formatter is supposed to write its results to.
      void setSystemError(java.lang.String err)
      This is what the test has written to System.err
      void setSystemOutput(java.lang.String out)
      This is what the test has written to System.out
      void startTestSuite(JUnitTest suite)
      The whole testsuite started.
      • Methods inherited from interface junit.framework.TestListener

        addError, addFailure, endTest, startTest
    • Method Detail

      • setSystemOutput

        void setSystemOutput(java.lang.String out)
        This is what the test has written to System.out
        Parameters:
        out - the string to write.
      • setSystemError

        void setSystemError(java.lang.String err)
        This is what the test has written to System.err
        Parameters:
        err - the string to write.