org.apache.maven.surefire.report
Class AbstractFileReporter

java.lang.Object
  extended by org.apache.maven.surefire.report.AbstractReporter
      extended by org.apache.maven.surefire.report.AbstractTextReporter
          extended by org.apache.maven.surefire.report.AbstractFileReporter
All Implemented Interfaces:
Reporter, ReportWriter
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.surefire.report.AbstractTextReporter
BRIEF, PLAIN, SUMMARY, writer
 
Fields inherited from class org.apache.maven.surefire.report.AbstractReporter
completedCount, errors, failures, NL, skipped, testSetStartTime
 
Constructor Summary
protected AbstractFileReporter(ReporterConfiguration reporterConfiguration, java.lang.String format)
           
 
Method Summary
 void testSetCompleted(ReportEntry report)
          Indicates end of a given test-set
 void testSetStarting(ReportEntry report)
          Indicates the start of a given test-set
 
Methods inherited from class org.apache.maven.surefire.report.AbstractTextReporter
getElapsedTimeSummary, getOutput, getTestSetSummary, isTestSetCompletedMessage, reset, setWriter, testError, testFailed, testSkipped, testSucceeded, writeDetailMessage, writeMessage
 
Methods inherited from class org.apache.maven.surefire.report.AbstractReporter
deleteIfExisting, elapsedTimeAsString, getActualRunTime, getNumErrors, getNumFailures, getNumSkipped, getNumTests, getStackTrace, isTimedOut, runCompleted, runStarting, testAssumptionFailure, testError, testFailed, testStarting, writeFooter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractFileReporter

protected AbstractFileReporter(ReporterConfiguration reporterConfiguration,
                               java.lang.String format)
Method Detail

testSetStarting

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

Specified by:
testSetStarting in interface Reporter
Specified by:
testSetStarting in interface ReportWriter
Overrides:
testSetStarting in class AbstractTextReporter
Parameters:
report - the report entry describing the testset
Throws:
ReporterException - When reporting fails

testSetCompleted

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

Specified by:
testSetCompleted in interface Reporter
Specified by:
testSetCompleted in interface ReportWriter
Overrides:
testSetCompleted in class AbstractTextReporter
Parameters:
report - the report entry describing the testset
Throws:
ReporterException - When reporting fails


Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.