From 879b4618845530726d257b4fbf3a49163e2a3a7b Mon Sep 17 00:00:00 2001 From: Tobrun Date: Mon, 3 Dec 2018 16:20:51 +0200 Subject: [android] - ignore location component unit test, update light test, update activity integration --- .../androidTest/java/com/mapbox/mapboxsdk/testapp/style/LightTest.java | 2 +- .../androidTest/java/com/mapbox/mapboxsdk/testapp/style/light.junit.ejs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'platform/android/MapboxGLAndroidSDKTestApp/src/androidTest') diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/androidTest/java/com/mapbox/mapboxsdk/testapp/style/LightTest.java b/platform/android/MapboxGLAndroidSDKTestApp/src/androidTest/java/com/mapbox/mapboxsdk/testapp/style/LightTest.java index 6cb05b0fd8..bd0484b578 100644 --- a/platform/android/MapboxGLAndroidSDKTestApp/src/androidTest/java/com/mapbox/mapboxsdk/testapp/style/LightTest.java +++ b/platform/android/MapboxGLAndroidSDKTestApp/src/androidTest/java/com/mapbox/mapboxsdk/testapp/style/LightTest.java @@ -149,7 +149,7 @@ public class LightTest extends BaseActivityTest { @Override public void perform(UiController uiController, View view) { - light = mapboxMap.getLight(); + light = mapboxMap.getStyle().getLight(); FillExtrusionLayer fillExtrusionLayer = new FillExtrusionLayer("3d-buildings", "composite"); fillExtrusionLayer.setSourceLayer("building"); fillExtrusionLayer.setFilter(eq(Expression.get("extrude"), "true")); diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/androidTest/java/com/mapbox/mapboxsdk/testapp/style/light.junit.ejs b/platform/android/MapboxGLAndroidSDKTestApp/src/androidTest/java/com/mapbox/mapboxsdk/testapp/style/light.junit.ejs index 0f2232057d..287fe1ac56 100644 --- a/platform/android/MapboxGLAndroidSDKTestApp/src/androidTest/java/com/mapbox/mapboxsdk/testapp/style/light.junit.ejs +++ b/platform/android/MapboxGLAndroidSDKTestApp/src/androidTest/java/com/mapbox/mapboxsdk/testapp/style/light.junit.ejs @@ -109,7 +109,7 @@ public class LightTest extends BaseActivityTest { @Override public void perform(UiController uiController, View view) { - light = mapboxMap.getLight(); + light = mapboxMap.getStyle().getLight(); FillExtrusionLayer fillExtrusionLayer = new FillExtrusionLayer("3d-buildings", "composite"); fillExtrusionLayer.setSourceLayer("building"); fillExtrusionLayer.setFilter(eq(Expression.get("extrude"), "true")); -- cgit v1.2.1