maven-surefire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dfabul...@apache.org
Subject svn commit: r596898 - /maven/surefire/trunk/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGExecutor.java
Date Wed, 21 Nov 2007 01:31:31 GMT
Author: dfabulich
Date: Tue Nov 20 17:31:30 2007
New Revision: 596898

URL: http://svn.apache.org/viewvc?rev=596898&view=rev
Log:
[SUREFIRE-380] Couldn't match TestNG 5.2.  This is because VersionRange.createFromVersion("5.2").containsVersion()
doesn't match "5.2".  Replaced it with a versionspec instead

Modified:
    maven/surefire/trunk/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGExecutor.java

Modified: maven/surefire/trunk/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGExecutor.java
URL: http://svn.apache.org/viewvc/maven/surefire/trunk/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGExecutor.java?rev=596898&r1=596897&r2=596898&view=diff
==============================================================================
--- maven/surefire/trunk/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGExecutor.java
(original)
+++ maven/surefire/trunk/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGExecutor.java
Tue Nov 20 17:31:30 2007
@@ -79,7 +79,7 @@
             {
                 return new TestNG4751Configurator();
             }
-            range = VersionRange.createFromVersion( "5.2" );
+            range = VersionRange.createFromVersionSpec( "5.2" );
             if ( range.containsVersion( version ) )
             {
                 return new TestNG52Configurator();



Mime
View raw message