maven-surefire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1074755 - in /maven/surefire/trunk/maven-surefire-report-plugin/src: main/java/org/apache/maven/plugins/surefire/report/ test/java/org/apache/maven/plugins/surefire/report/
Date Sat, 26 Feb 2011 00:12:22 GMT
Author: hboutemy
Date: Sat Feb 26 00:12:21 2011
New Revision: 1074755

URL: http://svn.apache.org/viewvc?rev=1074755&view=rev
Log:
code formatting

Modified:
    maven/surefire/trunk/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/SurefireReportGenerator.java
    maven/surefire/trunk/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/SurefireReportMojo.java
    maven/surefire/trunk/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/SurefireReportParser.java
    maven/surefire/trunk/maven-surefire-report-plugin/src/test/java/org/apache/maven/plugins/surefire/report/SurefireReportParserTest.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=1074755&r1=1074754&r2=1074755&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
Sat Feb 26 00:12:21 2011
@@ -427,10 +427,10 @@ public class SurefireReportGenerator
 
                             sink.rawText( "  <div class=\"detailToggle\" style=\"display:inline\">"
);
 
-                            sink.link( "javascript:toggleDisplay('" + toHtmlId(testCase.getFullName())
+ "');" );
+                            sink.link( "javascript:toggleDisplay('" + toHtmlId( testCase.getFullName()
) + "');" );
 
-                            sink.rawText( "<span style=\"display: inline;\" " + "id=\""
+ toHtmlId(testCase.getFullName())
-                                + "off\">+</span><span id=\"" + toHtmlId(testCase.getFullName())
+ "on\" "
+                            sink.rawText( "<span style=\"display: inline;\" " + "id=\""
+ toHtmlId( testCase.getFullName() )
+                                + "off\">+</span><span id=\"" + toHtmlId( testCase.getFullName()
) + "on\" "
                                 + "style=\"display: none;\">-</span> " );
                             sink.text( "[ Detail ]" );
                             sink.link_();
@@ -466,7 +466,7 @@ public class SurefireReportGenerator
 
                                 sink.tableCell();
                                 sink.rawText(
-                                    "  <div id=\"" + toHtmlId(testCase.getFullName())
+ "error\" style=\"display:none;\">" );
+                                    "  <div id=\"" + toHtmlId( testCase.getFullName()
) + "error\" style=\"display:none;\">" );
 
                                 Iterator it = detail.iterator();
 

Modified: maven/surefire/trunk/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/SurefireReportMojo.java
URL: http://svn.apache.org/viewvc/maven/surefire/trunk/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/SurefireReportMojo.java?rev=1074755&r1=1074754&r2=1074755&view=diff
==============================================================================
--- maven/surefire/trunk/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/SurefireReportMojo.java
(original)
+++ maven/surefire/trunk/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/SurefireReportMojo.java
Sat Feb 26 00:12:21 2011
@@ -22,7 +22,6 @@ package org.apache.maven.plugins.surefir
 import java.io.File;
 import java.util.ArrayList;
 import java.util.Arrays;
-import java.util.Collections;
 import java.util.Iterator;
 import java.util.List;
 import java.util.Locale;

Modified: maven/surefire/trunk/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/SurefireReportParser.java
URL: http://svn.apache.org/viewvc/maven/surefire/trunk/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/SurefireReportParser.java?rev=1074755&r1=1074754&r2=1074755&view=diff
==============================================================================
--- maven/surefire/trunk/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/SurefireReportParser.java
(original)
+++ maven/surefire/trunk/maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/SurefireReportParser.java
Sat Feb 26 00:12:21 2011
@@ -68,7 +68,7 @@ public class SurefireReportParser
         List xmlReportFileList = new ArrayList();
         for ( int i = 0; i < reportsDirectories.size(); i++ )
         {
-            File reportsDirectory = (File) reportsDirectories.get(i);
+            File reportsDirectory = (File) reportsDirectories.get( i );
             if ( !reportsDirectory.exists() )
             {
                 continue;

Modified: maven/surefire/trunk/maven-surefire-report-plugin/src/test/java/org/apache/maven/plugins/surefire/report/SurefireReportParserTest.java
URL: http://svn.apache.org/viewvc/maven/surefire/trunk/maven-surefire-report-plugin/src/test/java/org/apache/maven/plugins/surefire/report/SurefireReportParserTest.java?rev=1074755&r1=1074754&r2=1074755&view=diff
==============================================================================
--- maven/surefire/trunk/maven-surefire-report-plugin/src/test/java/org/apache/maven/plugins/surefire/report/SurefireReportParserTest.java
(original)
+++ maven/surefire/trunk/maven-surefire-report-plugin/src/test/java/org/apache/maven/plugins/surefire/report/SurefireReportParserTest.java
Sat Feb 26 00:12:21 2011
@@ -80,7 +80,8 @@ public class SurefireReportParserTest
         }
     }
 
-    private File getTestDir( String path ) throws UnsupportedEncodingException
+    private File getTestDir( String path )
+        throws UnsupportedEncodingException
     {
         URL resource = getClass().getResource( path );
         // URLDecoder.decode necessary for JDK 1.5+, where spaces are escaped to %20



Mime
View raw message