Author: [email protected]
Date: Fri Jun 5 09:02:20 2009
New Revision: 5515
Modified:
trunk/dev/core/test/com/google/gwt/dev/shell/CheckForUpdatesTest.java
Log:
The updated version parsing code in About.java insists on a 3 digit
version number. Removed the first tests with only 1 digit version strings.
Review by: jat(TBR)
Modified:
trunk/dev/core/test/com/google/gwt/dev/shell/CheckForUpdatesTest.java
==============================================================================
--- trunk/dev/core/test/com/google/gwt/dev/shell/CheckForUpdatesTest.java
(original)
+++ trunk/dev/core/test/com/google/gwt/dev/shell/CheckForUpdatesTest.java
Fri Jun 5 09:02:20 2009
@@ -12,14 +12,8 @@
GwtVersion v1 = new GwtVersion(null);
assertEquals(0, v1.compareTo(v1));
- v1 = new GwtVersion("1");
- assertEquals(0, v1.compareTo(v1));
- GwtVersion v2 = new GwtVersion("2");
- assertTrue(v1.compareTo(v2) < 0);
- assertTrue(v2.compareTo(v1) > 0);
-
v1 = new GwtVersion("1.2.3");
- v2 = new GwtVersion(null);
+ GwtVersion v2 = new GwtVersion(null);
assertTrue(v1.compareTo(v2) > 0);
assertTrue(v2.compareTo(v1) < 0);
--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---