1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-30 20:45:49 +01:00

Adjust testcases for samples with calculated timestamps

This commit is contained in:
cpfeiffer 2018-08-02 22:02:22 +02:00
parent d9f990b3fa
commit 664ffdd629

View File

@ -47,7 +47,7 @@ public class ActivityDetailsParserTest extends TestBase {
assertEquals("Elvis", track.getUser().getName()); assertEquals("Elvis", track.getUser().getName());
List<ActivityPoint> trackPoints = track.getTrackPoints(); List<ActivityPoint> trackPoints = track.getTrackPoints();
assertEquals(939, trackPoints.size()); assertEquals(972, trackPoints.size());
} }
} }
@ -86,7 +86,7 @@ public class ActivityDetailsParserTest extends TestBase {
ActivityTrack track = parser.parse(FileUtils.readAll(in, MAX_DETAILS)); ActivityTrack track = parser.parse(FileUtils.readAll(in, MAX_DETAILS));
List<ActivityPoint> trackPoints = track.getTrackPoints(); List<ActivityPoint> trackPoints = track.getTrackPoints();
assertEquals(939, trackPoints.size()); assertEquals(972, trackPoints.size());
GPXExporter exporter = new GPXExporter(); GPXExporter exporter = new GPXExporter();