Changeset 13194 in josm for trunk/test/unit/org
- Timestamp:
- 2017-12-05T00:58:56+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/io/GpxReaderTest.java
r12184 r13194 13 13 14 14 import org.junit.Test; 15 import org.openstreetmap.josm.TestUtils; 16 import org.openstreetmap.josm.data.Bounds; 15 17 import org.openstreetmap.josm.data.coor.LatLon; 16 18 import org.openstreetmap.josm.data.gpx.GpxData; … … 64 66 new GpxReader(new ByteArrayInputStream("--foo--bar--".getBytes(StandardCharsets.UTF_8))).parse(true); 65 67 } 68 69 /** 70 * Non-regression test for ticket <a href="https://josm.openstreetmap.de/ticket/15634">#15634</a> 71 * @throws IOException if an error occurs during reading 72 * @throws SAXException if any XML error occurs 73 */ 74 @Test 75 public void testTicket15634() throws IOException, SAXException { 76 assertEquals(new Bounds(53.7229357, -7.9135019, 53.9301103, -7.59656), 77 GpxReaderTest.parseGpxData(TestUtils.getRegressionDataFile(15634, "drumlish.gpx")).getMetaBounds()); 78 } 66 79 }
Note:
See TracChangeset
for help on using the changeset viewer.