You are viewing a plain text version of this content. The canonical link for it is here.
Posted to surefire-commits@maven.apache.org by hb...@apache.org on 2008/03/20 16:22:30 UTC
svn commit: r639314 -
/maven/surefire/trunk/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/SurefireReportGenerator.java
Author: hboutemy
Date: Thu Mar 20 08:22:29 2008
New Revision: 639314
URL: http://svn.apache.org/viewvc?rev=639314&view=rev
Log:
[SUREFIRE-423] output a title for the report
Submitted by: Benjamin Bentmann
added the title not only in the header but at the start of the report too (as sectionTitle1)
Modified:
maven/surefire/trunk/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/SurefireReportGenerator.java
Modified: maven/surefire/trunk/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/SurefireReportGenerator.java
URL: http://svn.apache.org/viewvc/maven/surefire/trunk/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/SurefireReportGenerator.java?rev=639314&r1=639313&r2=639314&view=diff
==============================================================================
--- maven/surefire/trunk/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/SurefireReportGenerator.java (original)
+++ maven/surefire/trunk/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/SurefireReportGenerator.java Thu Mar 20 08:22:29 2008
@@ -58,7 +58,9 @@
sink.head();
- sink.text( bundle.getString( "report.surefire.description" ) );
+ sink.title();
+ sink.text( bundle.getString( "report.surefire.header" ) );
+ sink.title_();
StringBuffer str = new StringBuffer();
str.append( "<script type=\"text/javascript\">\n" );
@@ -83,6 +85,10 @@
sink.head_();
sink.body();
+
+ sink.sectionTitle1();
+ sink.text( bundle.getString( "report.surefire.header" ) );
+ sink.sectionTitle1_();
constructSummarySection( bundle, sink );