org.quilt.reports
Class BriefFormatter

java.lang.Object
  |
  +--org.quilt.reports.BaseFormatter
        |
        +--org.quilt.reports.BriefFormatter
All Implemented Interfaces:
Formatter, junit.framework.TestListener

public class BriefFormatter
extends BaseFormatter


Field Summary
 
Fields inherited from class org.quilt.reports.BaseFormatter
filtertrace, numberFormat, out, output, results, resultWriter, runner, systemError, systemOutput
 
Constructor Summary
BriefFormatter()
          No-arg constructor.
 
Method Summary
 void addError(junit.framework.Test test, java.lang.Throwable error)
          A test caused an unexpected error.
 void addFailure(junit.framework.Test test, junit.framework.AssertionFailedError t)
          A test failed - overrides BasicFormattter method.
 void addFailure(junit.framework.Test test, java.lang.Throwable t)
          A test failed - overrides BasicFormattter method.
 void endTestSuite(QuiltTest suite)
          End the test suite: overrides basic mehod.
 
Methods inherited from class org.quilt.reports.BaseFormatter
endTest, getTestName, setFiltertrace, setOutput, setRunner, setSystemError, setSystemOutput, startTest, startTestSuite
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BriefFormatter

public BriefFormatter()
No-arg constructor.

Method Detail

endTestSuite

public void endTestSuite(QuiltTest suite)
                  throws org.apache.tools.ant.BuildException
End the test suite: overrides basic mehod.

Specified by:
endTestSuite in interface Formatter
Overrides:
endTestSuite in class BaseFormatter
org.apache.tools.ant.BuildException

addFailure

public void addFailure(junit.framework.Test test,
                       java.lang.Throwable t)
A test failed - overrides BasicFormattter method.

Overrides:
addFailure in class BaseFormatter

addFailure

public void addFailure(junit.framework.Test test,
                       junit.framework.AssertionFailedError t)
A test failed - overrides BasicFormattter method. Interface for JUnit > 3.4.

Specified by:
addFailure in interface junit.framework.TestListener
Overrides:
addFailure in class BaseFormatter

addError

public void addError(junit.framework.Test test,
                     java.lang.Throwable error)
A test caused an unexpected error.

Specified by:
addError in interface junit.framework.TestListener
Overrides:
addError in class BaseFormatter


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