maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ken...@apache.org
Subject svn commit: r496429 - /maven/components/branches/maven-2.0.x/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/DefaultArtifactVersionTest.java
Date Mon, 15 Jan 2007 18:37:41 GMT
Author: kenney
Date: Mon Jan 15 10:37:40 2007
New Revision: 496429

URL: http://svn.apache.org/viewvc?view=rev&rev=496429
Log:
Add another version test, and add a commented out one that's currently broken

Modified:
    maven/components/branches/maven-2.0.x/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/DefaultArtifactVersionTest.java

Modified: maven/components/branches/maven-2.0.x/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/DefaultArtifactVersionTest.java
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/DefaultArtifactVersionTest.java?view=diff&rev=496429&r1=496428&r2=496429
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/DefaultArtifactVersionTest.java
(original)
+++ maven/components/branches/maven-2.0.x/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/DefaultArtifactVersionTest.java
Mon Jan 15 10:37:40 2007
@@ -240,5 +240,11 @@
 
         version = new DefaultArtifactVersion( "2.0-1" );
         assertTrue( version.compareTo( new DefaultArtifactVersion( "2.0.1" ) ) < 0 );
+
+        version = new DefaultArtifactVersion( "1.10" );
+        assertTrue( version.compareTo( new DefaultArtifactVersion( "1.2" ) ) > 0 );
+
+        // version = new DefaultArtifactVersion( "1.1-foo-10" );
+        // assertTrue( version.compareTo( new DefaultArtifactVersion( "1.1-foo-2" ) ) >
0 );
     }
 }



Mime
View raw message