Changeset 14010 in josm for trunk/test/unit/org


Ignore:
Timestamp:
2018-07-07T14:09:37+02:00 (6 years ago)
Author:
Don-vip
Message:

fix #16471 - Support NMEA files when correlating images to a GPX track

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/io/nmea/NmeaReaderTest.java

    r12422 r14010  
    4848        TimeZone.setDefault(TimeZone.getTimeZone("Europe/Berlin"));
    4949        final NmeaReader in = new NmeaReader(new FileInputStream("data_nodist/btnmeatrack_2016-01-25.nmea"));
     50        in.parse(true);
    5051        assertEquals(30, in.getNumberOfCoordinates());
    5152        assertEquals(0, in.getParserMalformed());
     
    7475        GpxData gpx = GpxReaderTest.parseGpxData(TestUtils.getRegressionDataFile(ticket, filename+".gpx"));
    7576        NmeaReader in = new NmeaReader(new FileInputStream(TestUtils.getRegressionDataFile(ticket, filename+".nmea")));
     77        in.parse(true);
    7678        assertEquals(numCoor, in.getNumberOfCoordinates());
    7779        assertEquals(0, in.getParserMalformed());
Note: See TracChangeset for help on using the changeset viewer.