net.sf.jameleon.reporting
Interface TestRunSummaryReporter

All Known Implementing Classes:
HtmlTestRunSummaryReporter

public interface TestRunSummaryReporter

Reports on a test run, including each script result.


Method Summary
 void cleanUp()
          Cleans up any resources used
 Writer getWriter()
          Gets the Writer to use to write to results to
 boolean isPrintHeader()
          Tells whether to print the header or not.
 void reportTestRunComplete(Calendar startTime, Calendar endTime, TestCaseCounter counter)
          Reports the completion of a test run.
 void reportTestRunStart(Calendar startTime)
          Reports the start of a test run.
 void setPrintHeader(boolean printHeader)
          Sets the option to print the header or not.
 void setWriter(Writer writer)
          Sets the Writer to use to write to results to
 

Method Detail

reportTestRunStart

void reportTestRunStart(Calendar startTime)
Reports the start of a test run.

Parameters:
startTime - The time the test run was kicked off

reportTestRunComplete

void reportTestRunComplete(Calendar startTime,
                           Calendar endTime,
                           TestCaseCounter counter)
Reports the completion of a test run.

Parameters:
startTime - The time the test run began
endTime - The time the test run was completed
counter - The number of test cases run passed and failed.

cleanUp

void cleanUp()
Cleans up any resources used


getWriter

Writer getWriter()
Gets the Writer to use to write to results to

Returns:
The Writer to use to write to results to

setWriter

void setWriter(Writer writer)
Sets the Writer to use to write to results to

Parameters:
writer - The Writer to use to write to results to

isPrintHeader

boolean isPrintHeader()
Tells whether to print the header or not.

Returns:
true to print the header.

setPrintHeader

void setPrintHeader(boolean printHeader)
Sets the option to print the header or not.

Parameters:
printHeader - Set to true to print the header.


Copyright © 2003-2008 Christian Hargraves. All Rights Reserved.