JTR 5.0 API Documentation

jtr.test.results.exporters.impl
Class ExcelExporter

java.lang.Object
  extended by jtr.test.results.exporters.impl.ExcelExporter
All Implemented Interfaces:
IFactory, ITestResultsExporter

public class ExcelExporter
extends java.lang.Object
implements ITestResultsExporter

Implementation of the ITestResultExporter interface able to export JTR test results in Excel format.

Since:
4.0
Version:
5.0
Author:
frusso

Constructor Summary
ExcelExporter()
          Creates a new instance of ExcelExporter
 
Method Summary
 void export(NodeInfo n, TestOutcomeTable results)
          Export the test results produced by the specified JTR node.
 void flush(java.io.File outputFile)
          If required by the choosen output format, flushes to the specified output file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExcelExporter

public ExcelExporter()
Creates a new instance of ExcelExporter

Method Detail

export

public void export(NodeInfo n,
                   TestOutcomeTable results)
Description copied from interface: ITestResultsExporter
Export the test results produced by the specified JTR node.

Specified by:
export in interface ITestResultsExporter
Parameters:
n - The JTR node that produced the given results
results - The results produced by the given node

flush

public void flush(java.io.File outputFile)
Description copied from interface: ITestResultsExporter
If required by the choosen output format, flushes to the specified output file.

Specified by:
flush in interface ITestResultsExporter
Parameters:
outputFile - The output file

The JTR Project is licensed under GPL version 2