org.apache.maven.plugin.surefire.report
Class AbstractFileReporter

java.lang.Object
  extended by org.apache.maven.plugin.surefire.report.AbstractReporter
      extended by org.apache.maven.plugin.surefire.report.AbstractTextReporter
          extended by org.apache.maven.plugin.surefire.report.AbstractFileReporter
All Implemented Interfaces:
Reporter
Direct Known Subclasses:
BriefFileReporter, FileReporter

public abstract class AbstractFileReporter
extends AbstractTextReporter

Base class for file reporters.

Author:
Brett Porter

Field Summary
 
Fields inherited from class org.apache.maven.plugin.surefire.report.AbstractTextReporter
writer
 
Method Summary
static File getReportFile(File reportsDirectory, String reportEntryName, String reportNameSuffix, String fileExtension)
           
 void testSetCompleted(org.apache.maven.surefire.report.ReportEntry report)
          Indicates end of a given test-set
 void testSetStarting(org.apache.maven.surefire.report.ReportEntry report)
          Indicates the start of a given test-set
 
Methods inherited from class org.apache.maven.plugin.surefire.report.AbstractTextReporter
getElapsedTimeSummary, getOutput, getTestSetSummary, reset, setWriter, testError, testFailed, testSkipped, testSucceeded, writeMessage
 
Methods inherited from class org.apache.maven.plugin.surefire.report.AbstractReporter
testStarting, writeMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

testSetStarting

public void testSetStarting(org.apache.maven.surefire.report.ReportEntry report)
                     throws org.apache.maven.surefire.report.ReporterException
Description copied from interface: Reporter
Indicates the start of a given test-set

Specified by:
testSetStarting in interface Reporter
Overrides:
testSetStarting in class AbstractTextReporter
Parameters:
report - the report entry describing the testset
Throws:
org.apache.maven.surefire.report.ReporterException - When reporting fails

getReportFile

public static File getReportFile(File reportsDirectory,
                                 String reportEntryName,
                                 String reportNameSuffix,
                                 String fileExtension)

testSetCompleted

public void testSetCompleted(org.apache.maven.surefire.report.ReportEntry report)
                      throws org.apache.maven.surefire.report.ReporterException
Description copied from interface: Reporter
Indicates end of a given test-set

Specified by:
testSetCompleted in interface Reporter
Overrides:
testSetCompleted in class AbstractTextReporter
Parameters:
report - the report entry describing the testset
Throws:
org.apache.maven.surefire.report.ReporterException - When reporting fails


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.