maven-surefire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krosenv...@apache.org
Subject svn commit: r954002 - in /maven/surefire/trunk/surefire-api/src/main/java/org/apache/maven/surefire: ./ report/
Date Sat, 12 Jun 2010 13:30:35 GMT
Author: krosenvold
Date: Sat Jun 12 13:30:35 2010
New Revision: 954002

URL: http://svn.apache.org/viewvc?rev=954002&view=rev
Log:
o Removed an unused variable.


Modified:
    maven/surefire/trunk/surefire-api/src/main/java/org/apache/maven/surefire/Surefire.java
    maven/surefire/trunk/surefire-api/src/main/java/org/apache/maven/surefire/report/AbstractConsoleReporter.java
    maven/surefire/trunk/surefire-api/src/main/java/org/apache/maven/surefire/report/AbstractReporter.java
    maven/surefire/trunk/surefire-api/src/main/java/org/apache/maven/surefire/report/MulticastingReporter.java
    maven/surefire/trunk/surefire-api/src/main/java/org/apache/maven/surefire/report/Reporter.java
    maven/surefire/trunk/surefire-api/src/main/java/org/apache/maven/surefire/report/ReporterManager.java

Modified: maven/surefire/trunk/surefire-api/src/main/java/org/apache/maven/surefire/Surefire.java
URL: http://svn.apache.org/viewvc/maven/surefire/trunk/surefire-api/src/main/java/org/apache/maven/surefire/Surefire.java?rev=954002&r1=954001&r2=954002&view=diff
==============================================================================
--- maven/surefire/trunk/surefire-api/src/main/java/org/apache/maven/surefire/Surefire.java
(original)
+++ maven/surefire/trunk/surefire-api/src/main/java/org/apache/maven/surefire/Surefire.java
Sat Jun 12 13:30:35 2010
@@ -99,7 +99,7 @@ public class Surefire
             totalTests += testCount;
         }
 
-        reporterManager.runStarting( totalTests );
+        reporterManager.runStarting();
 
         if ( totalTests == 0 )
         {
@@ -162,7 +162,7 @@ public class Surefire
             }
         }
 
-        reporterManager.runStarting( totalTests );
+        reporterManager.runStarting();
 
         if ( totalTests == 0 )
         {

Modified: maven/surefire/trunk/surefire-api/src/main/java/org/apache/maven/surefire/report/AbstractConsoleReporter.java
URL: http://svn.apache.org/viewvc/maven/surefire/trunk/surefire-api/src/main/java/org/apache/maven/surefire/report/AbstractConsoleReporter.java?rev=954002&r1=954001&r2=954002&view=diff
==============================================================================
--- maven/surefire/trunk/surefire-api/src/main/java/org/apache/maven/surefire/report/AbstractConsoleReporter.java
(original)
+++ maven/surefire/trunk/surefire-api/src/main/java/org/apache/maven/surefire/report/AbstractConsoleReporter.java
Sat Jun 12 13:30:35 2010
@@ -54,7 +54,7 @@ public abstract class AbstractConsoleRep
         writeMessage( getTestSetStartingMessage( report ) );
     }
 
-    public void runStarting( int testCount )
+    public void runStarting()
     {
         writeHeading( "" );
         writeHeading( "-------------------------------------------------------" );

Modified: maven/surefire/trunk/surefire-api/src/main/java/org/apache/maven/surefire/report/AbstractReporter.java
URL: http://svn.apache.org/viewvc/maven/surefire/trunk/surefire-api/src/main/java/org/apache/maven/surefire/report/AbstractReporter.java?rev=954002&r1=954001&r2=954002&view=diff
==============================================================================
--- maven/surefire/trunk/surefire-api/src/main/java/org/apache/maven/surefire/report/AbstractReporter.java
(original)
+++ maven/surefire/trunk/surefire-api/src/main/java/org/apache/maven/surefire/report/AbstractReporter.java
Sat Jun 12 13:30:35 2010
@@ -66,7 +66,7 @@ public abstract class AbstractReporter
         writeMessage( footer );
     }
 
-    public void runStarting( int testCount )
+    public void runStarting()
     {
     }
 

Modified: maven/surefire/trunk/surefire-api/src/main/java/org/apache/maven/surefire/report/MulticastingReporter.java
URL: http://svn.apache.org/viewvc/maven/surefire/trunk/surefire-api/src/main/java/org/apache/maven/surefire/report/MulticastingReporter.java?rev=954002&r1=954001&r2=954002&view=diff
==============================================================================
--- maven/surefire/trunk/surefire-api/src/main/java/org/apache/maven/surefire/report/MulticastingReporter.java
(original)
+++ maven/surefire/trunk/surefire-api/src/main/java/org/apache/maven/surefire/report/MulticastingReporter.java
Sat Jun 12 13:30:35 2010
@@ -63,11 +63,11 @@ public class MulticastingReporter
     }
 
 
-    public void runStarting( int testCount )
+    public void runStarting()
     {
         for ( Iterator it = target.iterator(); it.hasNext(); )
         {
-            ( (Reporter) it.next() ).runStarting( testCount );
+            ( (Reporter) it.next() ).runStarting();
         }
     }
 

Modified: maven/surefire/trunk/surefire-api/src/main/java/org/apache/maven/surefire/report/Reporter.java
URL: http://svn.apache.org/viewvc/maven/surefire/trunk/surefire-api/src/main/java/org/apache/maven/surefire/report/Reporter.java?rev=954002&r1=954001&r2=954002&view=diff
==============================================================================
--- maven/surefire/trunk/surefire-api/src/main/java/org/apache/maven/surefire/report/Reporter.java
(original)
+++ maven/surefire/trunk/surefire-api/src/main/java/org/apache/maven/surefire/report/Reporter.java
Sat Jun 12 13:30:35 2010
@@ -27,7 +27,7 @@ package org.apache.maven.surefire.report
 public interface Reporter
 {
     // The entire run
-    void runStarting( int testCount );
+    void runStarting();
 
     void runCompleted();
 

Modified: maven/surefire/trunk/surefire-api/src/main/java/org/apache/maven/surefire/report/ReporterManager.java
URL: http://svn.apache.org/viewvc/maven/surefire/trunk/surefire-api/src/main/java/org/apache/maven/surefire/report/ReporterManager.java?rev=954002&r1=954001&r2=954002&view=diff
==============================================================================
--- maven/surefire/trunk/surefire-api/src/main/java/org/apache/maven/surefire/report/ReporterManager.java
(original)
+++ maven/surefire/trunk/surefire-api/src/main/java/org/apache/maven/surefire/report/ReporterManager.java
Sat Jun 12 13:30:35 2010
@@ -73,14 +73,9 @@ public class ReporterManager
     // Run
     // ----------------------------------------------------------------------
 
-    public synchronized void runStarting( int testCount )
+    public synchronized void runStarting()
     {
-        if ( testCount < 0 )
-        {
-            throw new IllegalArgumentException( "testCount is less than zero" );
-        }
-
-        multicastingReporter.runStarting( testCount );
+        multicastingReporter.runStarting();
     }
 
     public synchronized void runCompleted()



Mime
View raw message