|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.apache.maven.reporting.AbstractMavenReport
org.apache.maven.plugins.surefire.report.AbstractSurefireReportMojo
org.apache.maven.plugins.surefire.report.SurefireReportMojo
@Mojo(name="report",
inheritByDefault=false)
@Execute(lifecycle="surefire",
phase=TEST)
public class SurefireReportMojoCreates a nicely formatted Surefire Test Report in html format.
| Field Summary |
|---|
| Fields inherited from class org.apache.maven.reporting.AbstractMavenReport |
|---|
outputDirectory, project, siteRenderer |
| 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. |
protected boolean |
isGeneratedWhenNoResults()
Whether the report should be generated when there are no test results. |
protected boolean |
isSkipped()
Whether the report should be generated or not. |
| Methods inherited from class org.apache.maven.plugins.surefire.report.AbstractSurefireReportMojo |
|---|
canGenerateReport, executeReport, getDescription, getName |
| Methods inherited from class org.apache.maven.reporting.AbstractMavenReport |
|---|
closeReport, execute, generate, generate, generate, getCategoryName, getInputEncoding, getOutputDirectory, getOutputEncoding, getProject, getReportOutputDirectory, getSink, getSinkFactory, getSiteRenderer, 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 |
|---|
public SurefireReportMojo()
| Method Detail |
|---|
protected File getSurefireReportsDirectory(org.apache.maven.project.MavenProject subProject)
AbstractSurefireReportMojo
getSurefireReportsDirectory in class AbstractSurefireReportMojosubProject - the project to query.
public String getOutputName()
AbstractSurefireReportMojo
getOutputName in interface org.apache.maven.reporting.MavenReportgetOutputName in class AbstractSurefireReportMojoprotected boolean isSkipped()
AbstractSurefireReportMojo
isSkipped in class AbstractSurefireReportMojotrue if and only if the report should be generated.protected boolean isGeneratedWhenNoResults()
AbstractSurefireReportMojo
isGeneratedWhenNoResults in class AbstractSurefireReportMojotrue if and only if the report should be generated when there are no result files at all.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||