Changeset 71 in josm for test/org/openstreetmap/josm/test/GpxWriterTest.java
- Timestamp:
- 2006-03-25T16:21:09+01:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/org/openstreetmap/josm/test/GpxWriterTest.java
r64 r71 31 31 @Bug(47) 32 32 public void testDeleteNewDoesReallyRemove() throws JDOMException, IOException { 33 ds.wa ies.iterator().next().setDeleted(true);33 ds.ways.iterator().next().setDeleted(true); 34 34 root = reparse(); 35 35 assertEquals("way has vanished and 3 trk (segments) left", 3, root.getChildren("trk", GPX).size()); … … 56 56 assertNotNull("way not found in GPX file", realWay); 57 57 58 // the second point of the first segment of the wa ies has an id58 // the second point of the first segment of the ways has an id 59 59 Element trkseg = (Element)realWay.getChildren("trkseg", GPX).get(0); 60 60 Element trkpt = (Element)trkseg.getChildren("trkpt", GPX).get(1);
Note:
See TracChangeset
for help on using the changeset viewer.