jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tri...@apache.org
Subject svn commit: r1769993 - /jackrabbit/commons/filevault/trunk/vault-core/src/test/java/org/apache/jackrabbit/vault/packaging/VersionTest.java
Date Wed, 16 Nov 2016 15:06:44 GMT
Author: tripod
Date: Wed Nov 16 15:06:44 2016
New Revision: 1769993

URL: http://svn.apache.org/viewvc?rev=1769993&view=rev
Log:
trivial: add more version compare tests

Modified:
    jackrabbit/commons/filevault/trunk/vault-core/src/test/java/org/apache/jackrabbit/vault/packaging/VersionTest.java

Modified: jackrabbit/commons/filevault/trunk/vault-core/src/test/java/org/apache/jackrabbit/vault/packaging/VersionTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/test/java/org/apache/jackrabbit/vault/packaging/VersionTest.java?rev=1769993&r1=1769992&r2=1769993&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/test/java/org/apache/jackrabbit/vault/packaging/VersionTest.java
(original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/test/java/org/apache/jackrabbit/vault/packaging/VersionTest.java
Wed Nov 16 15:06:44 2016
@@ -44,6 +44,10 @@ public class VersionTest extends TestCas
         compare("1.1", "1.1-SNAPSHOT", 1);
         compare("1.1-SNAPSHOT", "1.1-R12345", 1);
         compare("2.1.492-NPR-12954-R012", "2.1.476", 1);
+        compare("6.1.58", "6.1.58-FP3", 1);
+        compare("6.1.58", "6.1.58.FP3", -1);
+        compare("6.1.59", "6.1.58.FP3", 1);
+        compare("6.1.58-FP3", "6.1.58-FP2", 1);
     }
 
     public void testOsgiCompare() {



Mime
View raw message