maven-surefire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject svn commit: r360572 - /maven/surefire/trunk/surefire/src/main/java/org/apache/maven/surefire/battery/DirectoryBattery.java
Date Sun, 01 Jan 2006 22:16:05 GMT
Author: carlos
Date: Sun Jan  1 14:15:59 2006
New Revision: 360572

URL: http://svn.apache.org/viewcvs?rev=360572&view=rev
Log:
Default excludes prevents inner class test cases, moved exclusion to surefire plugin
PR: SUREFIRE-19
Submitted By: Jesse McConnell

Modified:
    maven/surefire/trunk/surefire/src/main/java/org/apache/maven/surefire/battery/DirectoryBattery.java

Modified: maven/surefire/trunk/surefire/src/main/java/org/apache/maven/surefire/battery/DirectoryBattery.java
URL: http://svn.apache.org/viewcvs/maven/surefire/trunk/surefire/src/main/java/org/apache/maven/surefire/battery/DirectoryBattery.java?rev=360572&r1=360571&r2=360572&view=diff
==============================================================================
--- maven/surefire/trunk/surefire/src/main/java/org/apache/maven/surefire/battery/DirectoryBattery.java
(original)
+++ maven/surefire/trunk/surefire/src/main/java/org/apache/maven/surefire/battery/DirectoryBattery.java
Sun Jan  1 14:15:59 2006
@@ -95,16 +95,12 @@
 
         if ( excludes != null )
         {
-            String[] excls = new String[excludes.size() + 1];
+            String[] excls = new String[excludes.size()];
 
-            for ( int i = 0; i < excls.length - 1; i++ )
+            for ( int i = 0; i < excls.length; i++ )
             {
                 excls[i] = StringUtils.replace( (String) excludes.get( i ), "java", "class"
);
             }
-
-            // Exclude inner classes
-
-            excls[excludes.size()] = "**/*$*";
 
             scanner.setExcludes( excls );
         }



Mime
View raw message