Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependencies update #4605

Merged
merged 4 commits into from
Mar 4, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
vk/dependencies-update: unit tests fix
  • Loading branch information
Udumft committed Mar 4, 2024
commit 111b8f4efca6aa3d2945dedc99fa5d362220d480
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public final class TestNavigationStatusProvider {
let road = MapboxNavigationNative.RoadName(text: "name", language: "lang", imageBaseUrl: "base_image_url", shield: shield)
let roadNames = roads ?? [road]
let mapMatch = MapMatch(position: .init(edgeId: 0, percentAlong: 0), proba: 42)
let mapMatcherOutput = MapMatcherOutput(matches: [mapMatch], isTeleport: false)
let mapMatcherOutput = MapMatcherOutput(matches: [mapMatch], isTeleport: false, totalCandidatesCount: 1)
return .init(routeState: routeState,
locatedAlternativeRouteId: nil,
primaryRouteId: nil,
Expand Down Expand Up @@ -54,6 +54,7 @@ public final class TestNavigationStatusProvider {
nextWaypointIndex: 0,
layer: nil,
isSyntheticLocation: false,
correctedLocationData: nil)
correctedLocationData: nil,
mapMatchedSystemTime: Date())
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ class RouteProgressTests: TestCase {
bannerInstruction: nil,
speedLimit: .init(speed: nil, localeUnit: .kilometresPerHour, localeSign: .vienna),
keyPoints: [],
mapMatcherOutput: .init(matches: [], isTeleport: false),
mapMatcherOutput: .init(matches: [], isTeleport: false, totalCandidatesCount: 0),
offRoadProba: 0,
offRoadStateProvider: .unknown,
activeGuidanceInfo: .init(
Expand All @@ -347,7 +347,8 @@ class RouteProgressTests: TestCase {
nextWaypointIndex: 0,
layer: nil,
isSyntheticLocation: false,
correctedLocationData: nil
correctedLocationData: nil,
mapMatchedSystemTime: Date()
)
}

Expand Down