Changeset 12703 in josm for trunk/test/unit/org/openstreetmap
- Timestamp:
- 2017-08-31T17:52:05+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/tools/UtilsTest.java
r12217 r12703 225 225 String javaVersion = System.getProperty("java.version"); 226 226 try { 227 System.setProperty("java.version", "1.8.0"); 228 assertEquals(0, Utils.getJavaUpdate()); 229 227 230 System.setProperty("java.version", "1.8.0_131"); 228 231 assertEquals(131, Utils.getJavaUpdate()); … … 265 268 System.setProperty("java.runtime.version", "9.1.2+62"); 266 269 assertEquals(62, Utils.getJavaBuild()); 270 271 // IBM version example 272 System.setProperty("java.runtime.version", "pwa6480sr4fp7-20170627_02 (SR4 FP7)"); 273 assertEquals(0, Utils.getJavaBuild()); 274 267 275 } finally { 268 276 System.setProperty("java.runtime.version", javaVersion);
Note:
See TracChangeset
for help on using the changeset viewer.