org.jtiger.report.failure
Class FailureFixtureResultsHandler

java.lang.Object
  extended by org.jtiger.report.failure.FailureFixtureResultsHandler
All Implemented Interfaces:
FixtureResultsHandler

public final class FailureFixtureResultsHandler
extends Object
implements FixtureResultsHandler

A result handler that outputs to the standard output stream information regarding test failures. A test failure is one that has a result type of TestResultType.FAILURE, TestResultType.FAILURE_SETUP or TestResultType.FAILURE_TEARDOWN.
This class was inspired by suggestions from Pierre Legall.

Version:
2.1
Build Number 0376
Build Time 2006-07-28 01:50.16.218 CET (GMT + 1)
Author:
Tony Morris

Constructor Summary
FailureFixtureResultsHandler()
          Create a default FailureFixtureResultsHandler.
 
Method Summary
 void handleResult(FixtureResults results, ReadOnlyArray<String> params)
          Outputs test failure information to the standard output stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FailureFixtureResultsHandler

public FailureFixtureResultsHandler()
Create a default FailureFixtureResultsHandler.

Method Detail

handleResult

public void handleResult(FixtureResults results,
                         ReadOnlyArray<String> params)
Outputs test failure information to the standard output stream.

Specified by:
handleResult in interface FixtureResultsHandler
Parameters:
results - The test run results to produce the failure output of.
params - This parameter is not used.