Changeset 12184 in josm
- Timestamp:
- 2017-05-15T19:34:30+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/io/GpxReaderTest.java
r12156 r12184 10 10 import java.io.IOException; 11 11 import java.nio.charset.StandardCharsets; 12 import java.util. List;12 import java.util.ArrayList; 13 13 14 14 import org.junit.Test; … … 51 51 assertEquals(903, result.getWaypoints().size()); 52 52 53 final WayPoint tenthWayPoint = ((List<WayPoint>) result.waypoints).get(10);53 final WayPoint tenthWayPoint = new ArrayList<>(result.getWaypoints()).get(10); 54 54 assertEquals("128970", tenthWayPoint.get(GpxData.GPX_NAME)); 55 55 assertEquals(new LatLon(48.183956146240234, 11.43463134765625), tenthWayPoint.getCoor());
Note:
See TracChangeset
for help on using the changeset viewer.