summaryrefslogtreecommitdiff
path: root/platform/android/MapboxGLAndroidSDK/src/test/java/com/mapbox/mapboxsdk/location/LocationComponentActivationOptionsTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'platform/android/MapboxGLAndroidSDK/src/test/java/com/mapbox/mapboxsdk/location/LocationComponentActivationOptionsTest.java')
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/test/java/com/mapbox/mapboxsdk/location/LocationComponentActivationOptionsTest.java16
1 files changed, 0 insertions, 16 deletions
diff --git a/platform/android/MapboxGLAndroidSDK/src/test/java/com/mapbox/mapboxsdk/location/LocationComponentActivationOptionsTest.java b/platform/android/MapboxGLAndroidSDK/src/test/java/com/mapbox/mapboxsdk/location/LocationComponentActivationOptionsTest.java
index f1448a60c6..2660c819d4 100644
--- a/platform/android/MapboxGLAndroidSDK/src/test/java/com/mapbox/mapboxsdk/location/LocationComponentActivationOptionsTest.java
+++ b/platform/android/MapboxGLAndroidSDK/src/test/java/com/mapbox/mapboxsdk/location/LocationComponentActivationOptionsTest.java
@@ -77,7 +77,6 @@ public class LocationComponentActivationOptionsTest {
LocationComponentOptions locationComponentOptions = LocationComponentOptions.builder(context)
.accuracyAlpha(0.5f)
.build();
- assertNotNull(locationComponentOptions);
LocationComponentActivationOptions.builder(context, style)
.locationComponentOptions(locationComponentOptions)
@@ -90,11 +89,6 @@ public class LocationComponentActivationOptionsTest {
thrown.expect(NullPointerException.class);
thrown.expectMessage("Context in LocationComponentActivationOptions is null.");
- LocationComponentOptions locationComponentOptions = LocationComponentOptions.builder(context)
- .accuracyAlpha(0.5f)
- .build();
- assertNotNull(locationComponentOptions);
-
LocationComponentActivationOptions.builder(null, style)
.build();
}
@@ -105,11 +99,6 @@ public class LocationComponentActivationOptionsTest {
thrown.expectMessage("Style in LocationComponentActivationOptions is null. Make sure the Style object isn't null."
+ " Wait for the map to fully load before passing the Style object to LocationComponentActivationOptions.");
- LocationComponentOptions locationComponentOptions = LocationComponentOptions.builder(context)
- .accuracyAlpha(0.5f)
- .build();
- assertNotNull(locationComponentOptions);
-
LocationComponentActivationOptions.builder(context, null)
.build();
}
@@ -124,11 +113,6 @@ public class LocationComponentActivationOptionsTest {
+ "map to fully load before passing the Style object to "
+ "LocationComponentActivationOptions.");
- LocationComponentOptions locationComponentOptions = LocationComponentOptions.builder(context)
- .accuracyAlpha(0.5f)
- .build();
- assertNotNull(locationComponentOptions);
-
LocationComponentActivationOptions.builder(context, style)
.build();
}