org.apache.geronimo.mavenplugins.testsuite
Class ResultsSummaryMojo
java.lang.Object
   org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugin.AbstractMojo
       org.codehaus.mojo.pluginsupport.MojoSupport
org.codehaus.mojo.pluginsupport.MojoSupport
           org.apache.geronimo.mavenplugins.testsuite.ResultsSummaryMojo
org.apache.geronimo.mavenplugins.testsuite.ResultsSummaryMojo
- All Implemented Interfaces: 
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
- public class ResultsSummaryMojo 
- extends org.codehaus.mojo.pluginsupport.MojoSupport
Download the ResultsSummary.html file from the site url.
 Update it with success rate (in percentage) of the results from each of the top level testsuites.
 Upload the file back again.
| Field Summary | 
| protected  org.codehaus.mojo.pluginsupport.ant.AntHelper | ant
 | 
| protected  org.apache.maven.project.MavenProject | projectThe maven project.
 | 
| protected  org.apache.maven.settings.Settings | settingsThe build settings.
 | 
 
| Fields inherited from class org.codehaus.mojo.pluginsupport.MojoSupport | 
| container, log | 
 
| Fields inherited from interface org.apache.maven.plugin.Mojo | 
| ROLE | 
 
 
| Method Summary | 
|  String | computePercentage(int tests,
                                   int errors,
                                   int failures,
                                   int skipped)compute percentage
 | 
| protected  void | doExecute()called by execute from super
 | 
| protected  org.apache.maven.project.MavenProject | getProject()
 | 
| protected  void | init()
 | 
 
| Methods inherited from class org.codehaus.mojo.pluginsupport.MojoSupport | 
| contextualize, createArtifact, execute, getArtifact, getArtifactFactory, getArtifactRepository, getArtifactResolver, getProjectArtifacts, getProjectArtifacts, getProjectArtifacts, resolveArtifact, resolveArtifact | 
 
| 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 | 
 
ant
protected org.codehaus.mojo.pluginsupport.ant.AntHelper ant
project
protected org.apache.maven.project.MavenProject project
- The maven project.
 
 
settings
protected org.apache.maven.settings.Settings settings
- The build settings.
 
 
ResultsSummaryMojo
public ResultsSummaryMojo()
getProject
protected org.apache.maven.project.MavenProject getProject()
- 
- Overrides:
- getProjectin class- org.codehaus.mojo.pluginsupport.MojoSupport
 
- 
 
init
protected void init()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
- 
- Overrides:
- initin class- org.codehaus.mojo.pluginsupport.MojoSupport
 
- 
- Throws:
- org.apache.maven.plugin.MojoExecutionException
- org.apache.maven.plugin.MojoFailureException
 
doExecute
protected void doExecute()
                  throws Exception
- called by execute from super
 
- 
- Overrides:
- doExecutein class- org.codehaus.mojo.pluginsupport.MojoSupport
 
- 
- Throws:
- Exception
 
computePercentage
public String computePercentage(int tests,
                                int errors,
                                int failures,
                                int skipped)
- compute percentage
 
- 
 
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.