Author: aramirez Date: Sun Jul 23 19:29:01 2006 New Revision: 424882 URL: http://svn.apache.org/viewvc?rev=424882&view=rev Log: PR: MSUREFIREREP-24
-revised docs -added borders to the images Modified: maven/plugins/trunk/maven-surefire-report-plugin/pom.xml maven/plugins/trunk/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/SurefireReportMojo.java maven/plugins/trunk/maven-surefire-report-plugin/src/site/apt/examples/changing-report-name.apt maven/plugins/trunk/maven-surefire-report-plugin/src/site/apt/examples/cross-referencing.apt maven/plugins/trunk/maven-surefire-report-plugin/src/site/apt/examples/report-custom-location.apt maven/plugins/trunk/maven-surefire-report-plugin/src/site/apt/examples/show-failures.apt maven/plugins/trunk/maven-surefire-report-plugin/src/site/apt/index.apt maven/plugins/trunk/maven-surefire-report-plugin/src/site/resources/images/failure-details.PNG maven/plugins/trunk/maven-surefire-report-plugin/src/site/resources/images/surefire-sample1.PNG maven/plugins/trunk/maven-surefire-report-plugin/src/site/resources/images/surefire-sample2.PNG maven/plugins/trunk/maven-surefire-report-plugin/src/site/resources/images/xref.PNG Modified: maven/plugins/trunk/maven-surefire-report-plugin/pom.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-surefire-report-plugin/pom.xml?rev=424882&r1=424881&r2=424882&view=diff ============================================================================== --- maven/plugins/trunk/maven-surefire-report-plugin/pom.xml (original) +++ maven/plugins/trunk/maven-surefire-report-plugin/pom.xml Sun Jul 23 19:29:01 2006 @@ -43,15 +43,4 @@ <version>1.0-SNAPSHOT</version> </dependency> </dependencies> - <reporting> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-report-plugin</artifactId> - <configuration> - <outputDirectory>${basedir}/target/site/siteTest</outputDirectory> - </configuration> - </plugin> - </plugins> - </reporting> </project> Modified: maven/plugins/trunk/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/SurefireReportMojo.java URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/SurefireReportMojo.java?rev=424882&r1=424881&r2=424882&view=diff ============================================================================== --- maven/plugins/trunk/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/SurefireReportMojo.java (original) +++ maven/plugins/trunk/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/SurefireReportMojo.java Sun Jul 23 19:29:01 2006 @@ -66,7 +66,7 @@ private MavenProject project; /** - * If set to <code>false</code>, only failures are shown. + * If set to false, only failures are shown. * * @parameter expression="${showSuccess}" default-value="true" * @required @@ -74,7 +74,7 @@ private boolean showSuccess; /** - * This directory contains the XML Report files that must be parsed and rendered to HTML format. + * This directory contains the XML Report files that will be parsed and rendered to HTML format. * * @parameter expression="${project.build.directory}/surefire-reports" * @required @@ -82,7 +82,7 @@ private File reportsDirectory; /** - * The default filename to use for the report. + * The filename to use for the report. * * @parameter expression="${outputName}" default-value="surefire-report" * @required Modified: maven/plugins/trunk/maven-surefire-report-plugin/src/site/apt/examples/changing-report-name.apt URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-surefire-report-plugin/src/site/apt/examples/changing-report-name.apt?rev=424882&r1=424881&r2=424882&view=diff ============================================================================== --- maven/plugins/trunk/maven-surefire-report-plugin/src/site/apt/examples/changing-report-name.apt (original) +++ maven/plugins/trunk/maven-surefire-report-plugin/src/site/apt/examples/changing-report-name.apt Sun Jul 23 19:29:01 2006 @@ -30,5 +30,5 @@ </project> +----+ - And after executing the <<<mvn site>>>, the generated report file name is - changed to <<newname.html>>. \ No newline at end of file + And after executing the <<<mvn site>>>, the generated report file is named + to <<newname.html>>. \ No newline at end of file Modified: maven/plugins/trunk/maven-surefire-report-plugin/src/site/apt/examples/cross-referencing.apt URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-surefire-report-plugin/src/site/apt/examples/cross-referencing.apt?rev=424882&r1=424881&r2=424882&view=diff ============================================================================== --- maven/plugins/trunk/maven-surefire-report-plugin/src/site/apt/examples/cross-referencing.apt (original) +++ maven/plugins/trunk/maven-surefire-report-plugin/src/site/apt/examples/cross-referencing.apt Sun Jul 23 19:29:01 2006 @@ -8,11 +8,11 @@ Source Code Cross Reference - There are times that we need to know right away the line number of the + There are times when we need to know right away the line number of the source code that caused the failure of the test. The surefire-report plugin has the capability to cross reference the source code that made the test - failed. In able to activate it, the <<<maven-jxr-plugin>>> should - also be declared to the \<reporting\> section of the pom along with the + failed. To be able to activate it, the <<<maven-jxr-plugin>>> should + also be declared in the \<reporting\> section of the pom along with the <<<maven-surefire-report-plugin>>>. For more reference about <<<maven-jxr-plugin>>> please click {{{http://maven.apache.org/plugins/maven-jxr-plugin/}here}}. Modified: maven/plugins/trunk/maven-surefire-report-plugin/src/site/apt/examples/report-custom-location.apt URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-surefire-report-plugin/src/site/apt/examples/report-custom-location.apt?rev=424882&r1=424881&r2=424882&view=diff ============================================================================== --- maven/plugins/trunk/maven-surefire-report-plugin/src/site/apt/examples/report-custom-location.apt (original) +++ maven/plugins/trunk/maven-surefire-report-plugin/src/site/apt/examples/report-custom-location.apt Sun Jul 23 19:29:01 2006 @@ -48,24 +48,6 @@ To change the location of the generated output report using the standalone goal. The <<outputDirectory>> property should be set to the new path. -+----+ -<project> - [...] - <reporting> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-report-plugin</artifactId> - <configuration> - <outputDirectory>${basedir}/target/newsite</outputDirectory> - </configuration> - </plugin> - </plugins> - </reporting> -+----+ - - Then execute the goal - +---+ -mvn surefire-report:report +mvn surefire-report:report -DoutputDirectory=newpath +---+ Modified: maven/plugins/trunk/maven-surefire-report-plugin/src/site/apt/examples/show-failures.apt URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-surefire-report-plugin/src/site/apt/examples/show-failures.apt?rev=424882&r1=424881&r2=424882&view=diff ============================================================================== --- maven/plugins/trunk/maven-surefire-report-plugin/src/site/apt/examples/show-failures.apt (original) +++ maven/plugins/trunk/maven-surefire-report-plugin/src/site/apt/examples/show-failures.apt Sun Jul 23 19:29:01 2006 @@ -8,8 +8,8 @@ Showing Failure Tests - By default, the surefire-report plugin shows all test result satus(success - and failures) in the generated html. In able to show the failures only, the + By default, the surefire-report plugin shows all test result status(success + and failures) in the generated html. To be able to show the failures only, the property <<showSuccess>> should be set to <<false>>. +----+ Modified: maven/plugins/trunk/maven-surefire-report-plugin/src/site/apt/index.apt URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-surefire-report-plugin/src/site/apt/index.apt?rev=424882&r1=424881&r2=424882&view=diff ============================================================================== --- maven/plugins/trunk/maven-surefire-report-plugin/src/site/apt/index.apt (original) +++ maven/plugins/trunk/maven-surefire-report-plugin/src/site/apt/index.apt Sun Jul 23 19:29:01 2006 @@ -6,7 +6,7 @@ July 2006 ------ -Introduction +Maven Surefire-Report Plugin The surefire-report plugin parses the generated TEST-*.xml files under <<<${basedir}/target/surefire-reports>>> and renders them to DOXIA @@ -16,7 +16,7 @@ Surefire-report plugin only has one goal: - * {{{surefire-report-mojo.html}surefire-report:report}} Generates the test + * {{{report-mojo.html}surefire-report:report}} Generates the test results report into html format. [] Modified: maven/plugins/trunk/maven-surefire-report-plugin/src/site/resources/images/failure-details.PNG URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-surefire-report-plugin/src/site/resources/images/failure-details.PNG?rev=424882&r1=424881&r2=424882&view=diff ============================================================================== Binary files - no diff available. Modified: maven/plugins/trunk/maven-surefire-report-plugin/src/site/resources/images/surefire-sample1.PNG URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-surefire-report-plugin/src/site/resources/images/surefire-sample1.PNG?rev=424882&r1=424881&r2=424882&view=diff ============================================================================== Binary files - no diff available. Modified: maven/plugins/trunk/maven-surefire-report-plugin/src/site/resources/images/surefire-sample2.PNG URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-surefire-report-plugin/src/site/resources/images/surefire-sample2.PNG?rev=424882&r1=424881&r2=424882&view=diff ============================================================================== Binary files - no diff available. Modified: maven/plugins/trunk/maven-surefire-report-plugin/src/site/resources/images/xref.PNG URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-surefire-report-plugin/src/site/resources/images/xref.PNG?rev=424882&r1=424881&r2=424882&view=diff ============================================================================== Binary files - no diff available.