Skip to content

Commit

Permalink
fixed wrapper test
Browse files Browse the repository at this point in the history
  • Loading branch information
VysotskiVadim committed Oct 20, 2023
1 parent ce90e97 commit 37690d1
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@file:OptIn(ExperimentalPreviewMapboxNavigationAPI::class)

package com.mapbox.navigation.route.internal

import com.mapbox.api.directions.v5.models.DirectionsResponse
Expand All @@ -7,12 +9,15 @@ import com.mapbox.bindgen.DataRef
import com.mapbox.bindgen.Expected
import com.mapbox.bindgen.ExpectedFactory
import com.mapbox.geojson.Point
import com.mapbox.navigation.base.ExperimentalPreviewMapboxNavigationAPI
import com.mapbox.navigation.base.extensions.applyDefaultNavigationOptions
import com.mapbox.navigation.base.extensions.coordinates
import com.mapbox.navigation.base.internal.RouteRefreshRequestData
import com.mapbox.navigation.base.internal.SDKRouteParser
import com.mapbox.navigation.base.internal.route.createNavigationRoutes
import com.mapbox.navigation.base.internal.route.isExpired
import com.mapbox.navigation.base.internal.utils.RoutesParsingQueue
import com.mapbox.navigation.base.options.LongRoutesOptimisationOptions
import com.mapbox.navigation.base.route.NavigationRoute
import com.mapbox.navigation.base.route.NavigationRouterCallback
import com.mapbox.navigation.base.route.NavigationRouterRefreshCallback
Expand Down Expand Up @@ -165,6 +170,7 @@ class RouterWrapperTests {
accessToken,
router,
ThreadController(),
RoutesParsingQueue(LongRoutesOptimisationOptions.NoOptimisations)
)
}

Expand Down

0 comments on commit 37690d1

Please sign in to comment.