org.quilt.reports
Interface Formatter

All Superinterfaces:
junit.framework.TestListener
All Known Implementing Classes:
BaseFormatter, SummaryFormatter, XMLFormatter

public interface Formatter
extends junit.framework.TestListener

Interface presented by all Ant/Quilt-compatible test result formatters. Extend BaseFormatter to build new formatters.


Method Summary
 void endTestSuite(QuiltTest suite)
          Called at end of test suite run.
 void setFiltertrace(boolean b)
          Enable filtering of Ant/Quilt/JUnit lines from stack traces.
 void setOutput(java.io.OutputStream out)
           
 void setRunner(Runner testrunner)
          Select test runner to use.
 void setSystemError(java.lang.String err)
           
 void setSystemOutput(java.lang.String out)
           
 void startTestSuite(QuiltTest suite)
          Called at beginning of test suite run.
 
Methods inherited from interface junit.framework.TestListener
addError, addFailure, endTest, startTest
 

Method Detail

setFiltertrace

public void setFiltertrace(boolean b)
Enable filtering of Ant/Quilt/JUnit lines from stack traces.


setOutput

public void setOutput(java.io.OutputStream out)

setRunner

public void setRunner(Runner testrunner)
Select test runner to use.


setSystemError

public void setSystemError(java.lang.String err)

setSystemOutput

public void setSystemOutput(java.lang.String out)

startTestSuite

public void startTestSuite(QuiltTest suite)
                    throws org.apache.tools.ant.BuildException
Called at beginning of test suite run.

org.apache.tools.ant.BuildException

endTestSuite

public void endTestSuite(QuiltTest suite)
                  throws org.apache.tools.ant.BuildException
Called at end of test suite run.

org.apache.tools.ant.BuildException


Copyright © 2001-2003 Apache Software Foundation. All Rights Reserved.