From a018c0f7b59a77d222b366bf6804924f51f46dc6 Mon Sep 17 00:00:00 2001 From: tobrun Date: Mon, 10 Dec 2018 12:02:54 +0100 Subject: [android] - throw exception when another style is loading, correct RuntimeStyleTest when removing layer at, add javadoc to isFullyLoaded --- .../java/com/mapbox/mapboxsdk/testapp/style/RuntimeStyleTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform/android/MapboxGLAndroidSDKTestApp') diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/androidTest/java/com/mapbox/mapboxsdk/testapp/style/RuntimeStyleTests.java b/platform/android/MapboxGLAndroidSDKTestApp/src/androidTest/java/com/mapbox/mapboxsdk/testapp/style/RuntimeStyleTests.java index 141ddb42da..e7e7c767a4 100644 --- a/platform/android/MapboxGLAndroidSDKTestApp/src/androidTest/java/com/mapbox/mapboxsdk/testapp/style/RuntimeStyleTests.java +++ b/platform/android/MapboxGLAndroidSDKTestApp/src/androidTest/java/com/mapbox/mapboxsdk/testapp/style/RuntimeStyleTests.java @@ -133,7 +133,7 @@ public class RuntimeStyleTests extends BaseActivityTest { // Test remove by index bounds checks Timber.i("Remove layer at index > size"); - assertNull(mapboxMap.getStyle().removeLayerAt(Integer.MAX_VALUE)); + assertFalse(mapboxMap.getStyle().removeLayerAt(Integer.MAX_VALUE)); } }); } -- cgit v1.2.1