org.apache.geronimo.mavenplugins.geronimo.reporting
Class SurefireReporter

java.lang.Object
  extended by org.apache.geronimo.mavenplugins.geronimo.reporting.SurefireReporter
All Implemented Interfaces:
Reporter

public class SurefireReporter
extends Object
implements Reporter

A reporter that generates Surefire result data, so the Surefire report can be used.


Constructor Summary
SurefireReporter()
           
 
Method Summary
 File getOutputFile()
          The text file which holds the stdout or stderr.
 File getReportsFile()
          The generated reports xml file for surefire..
 void reportBegin(Reportable source)
          Signals the start of a reporting run.
 void reportEnd()
          Called after the goal has run (with or with-out errors).
 void reportError(Throwable cause)
          Called when a failure has occured while executing a goal.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SurefireReporter

public SurefireReporter()
Method Detail

reportBegin

public void reportBegin(Reportable source)
Description copied from interface: Reporter
Signals the start of a reporting run. This method should collect the required information.

Specified by:
reportBegin in interface Reporter
Parameters:
source - The source of the report; must not be null.

reportError

public void reportError(Throwable cause)
Description copied from interface: Reporter
Called when a failure has occured while executing a goal.

Specified by:
reportError in interface Reporter
Parameters:
cause - The cause of the error; must not be null.

reportEnd

public void reportEnd()
Description copied from interface: Reporter
Called after the goal has run (with or with-out errors).

Specified by:
reportEnd in interface Reporter

getReportsFile

public File getReportsFile()
The generated reports xml file for surefire..

Returns:
generated reports xml file

getOutputFile

public File getOutputFile()
The text file which holds the stdout or stderr.

Returns:
File


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.