org.woopi.ant.taskdefs.junit
Interface JUnitResultFormatter

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

public interface JUnitResultFormatter
extends junit.framework.TestListener

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


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 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

startTestSuite

void startTestSuite(JUnitTest suite)
                    throws org.apache.tools.ant.BuildException
The whole testsuite started.

Throws:
org.apache.tools.ant.BuildException

endTestSuite

void endTestSuite(JUnitTest suite)
                  throws org.apache.tools.ant.BuildException
The whole testsuite ended.

Throws:
org.apache.tools.ant.BuildException

setOutput

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


setSystemOutput

void setSystemOutput(java.lang.String out)
This is what the test has written to System.out


setSystemError

void setSystemError(java.lang.String err)
This is what the test has written to System.err



Copyright 2000-${year} Apache Software Foundation. All Rights Reserved.