incubator-depot-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nickcha...@apache.org
Subject svn commit: rev 36807 - incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/gump
Date Tue, 24 Aug 2004 05:36:35 GMT
Author: nickchalko
Date: Mon Aug 23 22:36:35 2004
New Revision: 36807

Modified:
   incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/gump/GumpVersionTest.java
Log:
No need to test what doesn't happen.  

Modified: incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/gump/GumpVersionTest.java
==============================================================================
--- incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/gump/GumpVersionTest.java
(original)
+++ incubator/depot/trunk/version/src/test/java/org/apache/depot/version/impl/gump/GumpVersionTest.java
Mon Aug 23 22:36:35 2004
@@ -38,21 +38,14 @@
 		baseVersionString = "gump-" + format.format(now);
 	}
 
-	// :TODO: 1.0.0 ! 1.0.-1 == UNSET
-	// Maybe it should be....
-	// :TODO: final != rel
-	// Maybe it should be....
 
 	public void testEquals() throws VersionFormatException {
 		assertAllEqual(new String[] { "1", "gump-1", "GUMP-1" });
 	}
 
 	public void testNonCompatible() throws VersionFormatException {
-		assertVersionInOrder(new String[] { "gump-1", "gump-2" }, false);
-	}
-
-	public void testCompatible() throws VersionFormatException {
-
+		assertVersionInOrder(
+				new String[] { "gump-1", "gump-2", "3", "GUMP-4" }, false);
 	}
 
 	/*

Mime
View raw message