TrackStatistics startTime/stopTime is null on creation.

This commit is contained in:
Dennis Guse
2021-01-09 17:45:20 +01:00
parent 1d46981717
commit 912fd1aa2f
4 changed files with 9 additions and 10 deletions
@@ -47,7 +47,6 @@ import static org.junit.Assert.assertNull;
/**
* Export a track to {@link TrackFileFormat} and verify that the import is identical.
* <p>
* TODO: test ignores {@link TrackStatistics} for now.
*/
@RunWith(JUnit4.class)
public class ExportImportTest {
@@ -431,7 +430,7 @@ public class ExportImportTest {
}
private static TrackPoint createTrackPoint(long time, double latitude, double longitude, float accuracy, long speed, long altitude, float elevationGain, float heartRate, float cyclingCadence, float power) {
Location location = new Location("gps");
Location location = new Location("");
location.setTime(time);
location.setLongitude(longitude);
location.setLatitude(latitude);