Changeset 17903 in josm for trunk/test
- Timestamp:
- 2021-05-17T21:27:21+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/io/OsmServerHistoryReaderTest.java
r17887 r17903 68 68 assertEquals(26368284, h.getLatest().getChangesetId()); 69 69 assertEquals(Instant.ofEpochMilli(1414429134000L), h.getLatest().getInstant()); 70 System.out.println(h.getByVersion(14).keySet()); 71 assertEquals(11, h.getWhichChangedTag(14, "bicycle").getVersion()); 72 assertEquals(1, h.getWhichChangedTag(10, "bicycle").getVersion()); 73 assertEquals(5, h.getWhichChangedTag(14, "created_by").getVersion()); 74 assertEquals(2, h.getWhichChangedTag(4, "created_by").getVersion()); 75 assertEquals(1, h.getWhichChangedTag(1, "highway").getVersion()); 70 assertEquals(11, h.getWhichChangedTag(h.getByVersion(14), "bicycle", false).getVersion()); 71 assertEquals(1, h.getWhichChangedTag(h.getByVersion(10), "bicycle", false).getVersion()); 72 assertEquals(5, h.getWhichChangedTag(h.getByVersion(14), "created_by", false).getVersion()); 73 assertEquals(2, h.getWhichChangedTag(h.getByVersion(4), "created_by", false).getVersion()); 74 assertEquals(1, h.getWhichChangedTag(h.getByVersion(1), "highway", false).getVersion()); 76 75 } 77 76
Note:
See TracChangeset
for help on using the changeset viewer.