1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-28 21:06:50 +01:00

Fix ActivityDetailsParserTest now that we reuse trackpoints

This commit is contained in:
cpfeiffer 2018-04-15 16:47:49 +02:00
parent d87659c9b9
commit f88ef0e688

View File

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