org.apache.maven.plugins.surefire.report
Class SurefireReportMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.reporting.AbstractMavenReport
          extended by org.apache.maven.plugins.surefire.report.AbstractSurefireReportMojo
              extended by org.apache.maven.plugins.surefire.report.SurefireReportMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.apache.maven.reporting.MavenMultiPageReport, org.apache.maven.reporting.MavenReport
Direct Known Subclasses:
SurefireReportOnlyMojo

public class SurefireReportMojo
extends AbstractSurefireReportMojo

Creates a nicely formatted Surefire Test Report in html format.

Version:
$Id: SurefireReportMojo.java 1144289 2011-07-08 12:39:32Z stephenc $
Author:
Johnny R. Ruiz III

Field Summary
 
Fields inherited from interface org.apache.maven.reporting.MavenReport
CATEGORY_PROJECT_INFORMATION, CATEGORY_PROJECT_REPORTS, ROLE
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
SurefireReportMojo()
           
 
Method Summary
 String getOutputName()
          
protected  File getSurefireReportsDirectory(org.apache.maven.project.MavenProject subProject)
          Gets the default surefire reports directory for the specified project.
 
Methods inherited from class org.apache.maven.plugins.surefire.report.AbstractSurefireReportMojo
executeReport, getDescription, getName, getOutputDirectory, getProject, getSiteRenderer
 
Methods inherited from class org.apache.maven.reporting.AbstractMavenReport
canGenerateReport, closeReport, execute, generate, generate, generate, getCategoryName, getReportOutputDirectory, getSink, getSinkFactory, isExternalReport, setReportOutputDirectory
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SurefireReportMojo

public SurefireReportMojo()
Method Detail

getSurefireReportsDirectory

protected File getSurefireReportsDirectory(org.apache.maven.project.MavenProject subProject)
Description copied from class: AbstractSurefireReportMojo
Gets the default surefire reports directory for the specified project.

Specified by:
getSurefireReportsDirectory in class AbstractSurefireReportMojo
Parameters:
subProject - the project to query.
Returns:
the default surefire reports directory for the specified project.

getOutputName

public String getOutputName()
Description copied from class: AbstractSurefireReportMojo

Specified by:
getOutputName in interface org.apache.maven.reporting.MavenReport
Specified by:
getOutputName in class AbstractSurefireReportMojo


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