maven-surefire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r563812 - /maven/surefire/branches/surefire-2.3.x/maven-surefire-plugin/src/main/java/org/apache/maven/plugin/surefire/SurefirePlugin.java
Date Wed, 08 Aug 2007 11:10:57 GMT
Author: brett
Date: Wed Aug  8 04:10:56 2007
New Revision: 563812

URL: http://svn.apache.org/viewvc?view=rev&rev=563812
Log:
[SUREFIRE-336] Allow single test path to use '.' delimiter
Submitted by: Paul Gier

Modified:
    maven/surefire/branches/surefire-2.3.x/maven-surefire-plugin/src/main/java/org/apache/maven/plugin/surefire/SurefirePlugin.java

Modified: maven/surefire/branches/surefire-2.3.x/maven-surefire-plugin/src/main/java/org/apache/maven/plugin/surefire/SurefirePlugin.java
URL: http://svn.apache.org/viewvc/maven/surefire/branches/surefire-2.3.x/maven-surefire-plugin/src/main/java/org/apache/maven/plugin/surefire/SurefirePlugin.java?view=diff&rev=563812&r1=563811&r2=563812
==============================================================================
--- maven/surefire/branches/surefire-2.3.x/maven-surefire-plugin/src/main/java/org/apache/maven/plugin/surefire/SurefirePlugin.java
(original)
+++ maven/surefire/branches/surefire-2.3.x/maven-surefire-plugin/src/main/java/org/apache/maven/plugin/surefire/SurefirePlugin.java
Wed Aug  8 04:10:56 2007
@@ -562,6 +562,9 @@
 
                 excludes = new ArrayList();
 
+                // Allow paths delimited by '.' or '/'
+                test = test.replace('.', '/');
+                
                 String[] testRegexes = StringUtils.split( test, "," );
 
                 for ( int i = 0; i < testRegexes.length; i++ )



Mime
View raw message