summaryrefslogtreecommitdiff
path: root/platform/android/MapboxGLAndroidSDK/src/test/java/com/mapbox/mapboxsdk/location/LocationComponentTest.kt
diff options
context:
space:
mode:
Diffstat (limited to 'platform/android/MapboxGLAndroidSDK/src/test/java/com/mapbox/mapboxsdk/location/LocationComponentTest.kt')
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/test/java/com/mapbox/mapboxsdk/location/LocationComponentTest.kt14
1 files changed, 0 insertions, 14 deletions
diff --git a/platform/android/MapboxGLAndroidSDK/src/test/java/com/mapbox/mapboxsdk/location/LocationComponentTest.kt b/platform/android/MapboxGLAndroidSDK/src/test/java/com/mapbox/mapboxsdk/location/LocationComponentTest.kt
index d380855b6c..305dbdb0cb 100644
--- a/platform/android/MapboxGLAndroidSDK/src/test/java/com/mapbox/mapboxsdk/location/LocationComponentTest.kt
+++ b/platform/android/MapboxGLAndroidSDK/src/test/java/com/mapbox/mapboxsdk/location/LocationComponentTest.kt
@@ -100,20 +100,6 @@ class LocationComponentTest {
@Test
fun activateWithDefaultLocationEngineRequestAndOptionsTest() {
locationComponent.activateLocationComponent(context, mockk(), true, locationEngineRequest, locationComponentOptions)
-
- Assert.assertEquals(locationEngineRequest, locationComponent.locationEngineRequest)
-
- doReturn(mock(TypedArray::class.java)).`when`(context)
- .obtainStyledAttributes(R.style.mapbox_LocationComponent, R.styleable.mapbox_LocationComponent)
-
- val resources = mock(Resources::class.java)
-
- doReturn(resources).`when`(context).resources
- doReturn(0f).`when`(resources)
- .getDimension(R.dimen.mapbox_locationComponentTrackingMultiFingerMoveThreshold)
- doReturn(0f).`when`(resources)
- .getDimension(R.dimen.mapbox_locationComponentTrackingMultiFingerMoveThreshold)
- locationComponent.activateLocationComponent(context, mockk(), true, locationEngineRequest, locationComponentOptions)
Assert.assertEquals(locationEngineRequest, locationComponent.locationEngineRequest)
}