org.jtiger.report.html
Class HtmlFixtureResultsHandler

java.lang.Object
  extended by org.jtiger.report.html.HtmlFixtureResultsHandler
All Implemented Interfaces:
FixtureResultsHandler

public final class HtmlFixtureResultsHandler
extends Object
implements FixtureResultsHandler

A result handler that produces a HTML report of test run results. The report is written to a directory which is passed in the parameters to the handleResult method.

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

Constructor Summary
HtmlFixtureResultsHandler()
          Create a default HtmlFixtureResultsHandler.
 
Method Summary
 void handleResult(FixtureResults results, ReadOnlyArray<String> params)
          Write a HTML report of the given test run results to a directory which is passed in the parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlFixtureResultsHandler

public HtmlFixtureResultsHandler()
Create a default HtmlFixtureResultsHandler.

Method Detail

handleResult

public void handleResult(FixtureResults results,
                         ReadOnlyArray<String> params)
                  throws FixtureResultsHandlerException
Write a HTML report of the given test run results to a directory which is passed in the parameters. If the params are empty, the current directory is used to write the report to.

Specified by:
handleResult in interface FixtureResultsHandler
Parameters:
results - The test run results to produce the HTML report of.
params - The parameters that contain at least one parameter which is the directory to write the HTML report to otherwise the current directory is used.
Throws:
FixtureResultsHandlerException - If an error occurs while writing the HTML report.