Refactoring to marker: TrackRecordingService.

#389
This commit is contained in:
Dennis Guse
2020-09-05 10:20:05 +02:00
parent 74e09e1fa9
commit 19d8563a76
6 changed files with 21 additions and 62 deletions
@@ -296,7 +296,7 @@ public class TrackRecordingServiceTest {
assertFalse(service.isRecording());
// when
Marker.Id waypointId = service.insertWaypoint(null, null, null, null);
Marker.Id waypointId = service.insertMarker(null, null, null, null);
// then
assertNull(waypointId);
@@ -313,7 +313,7 @@ public class TrackRecordingServiceTest {
Track.Id trackId = service.getRecordingTrackId();
// when
Marker.Id waypointId = service.insertWaypoint(null, null, null, null);
Marker.Id waypointId = service.insertMarker(null, null, null, null);
// then
assertNotEquals(-1L, waypointId);
@@ -226,7 +226,7 @@ public class TrackRecordingServiceTestLooper {
service.newTrackPoint(trackPoint, prefAccuracy);
if (i % 7 == 0) {
service.insertWaypoint(null, null, null, null);
service.insertMarker(null, null, null, null);
}
}