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

All Superinterfaces:
junit.framework.TestListener
All Known Implementing Classes:
PlainJUnitResultFormatter, SummaryJUnitResultFormatter, XMLJUnitResultFormatter

public interface JUnitResultFormatter
extends junit.framework.TestListener

This Interface describes classes that format the results of a JUnit testrun.

Author:
Stefan Bodewig

Method Summary
 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 startTestSuite(JUnitTest suite)
          The whole testsuite started.
 
Methods inherited from interface junit.framework.TestListener
addError, addFailure, endTest, startTest
 

Method Detail

startTestSuite

public void startTestSuite(JUnitTest suite)
                    throws BuildException
The whole testsuite started.

endTestSuite

public void endTestSuite(JUnitTest suite)
                  throws BuildException
The whole testsuite ended.

setOutput

public void setOutput(java.io.OutputStream out)
Sets the stream the formatter is supposed to write its results to.


Copyright © 2000 Apache Software Foundation. All Rights Reserved.