We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9471d9 commit 261c1f7Copy full SHA for 261c1f7
libnavigation-core/src/androidTest/java/com/mapbox/navigation/core/trip/service/ArtificialDriverTest.kt
@@ -64,11 +64,11 @@ class ArtificialDriverTest {
64
continuation.resume(it ?: "null")
65
}
66
67
- val notTrackingStates = states.filter { it.routeState != RouteState.TRACKING }
+ val offRouteState = states.filter { it.routeState == RouteState.OFF_ROUTE }
68
assertTrue(
69
- "not all states are tracking, " +
70
- "see history file $historyFile: $notTrackingStates",
71
- notTrackingStates.isEmpty()
+ "${offRouteState.size} off-route states have been detected(" +
+ "more info in $historyFile): $offRouteState",
+ offRouteState.isEmpty()
72
)
73
74
0 commit comments