mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-29 03:55:49 +01:00
Adjust testcases for samples with calculated timestamps
This commit is contained in:
parent
d9f990b3fa
commit
664ffdd629
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user