diff options
author | Ivo van Dongen <info@ivovandongen.nl> | 2017-02-20 12:05:22 +0200 |
---|---|---|
committer | Ivo van Dongen <ivovandongen@users.noreply.github.com> | 2017-02-28 14:05:14 -0800 |
commit | f8766f704a13d0bff7c04b346fe2653d314684fa (patch) | |
tree | 1c0e660f941be4d76236ae95fa31c6bb4d292ab6 | |
parent | e18f60229e8a8a00d6aaa617ac635a0f084465ba (diff) | |
download | qtlocation-mapboxgl-f8766f704a13d0bff7c04b346fe2653d314684fa.tar.gz |
[android] fix unit tests for #7944
2 files changed, 3 insertions, 3 deletions
diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/androidTest/java/com/mapbox/mapboxsdk/testapp/style/SymbolLayerTest.java b/platform/android/MapboxGLAndroidSDKTestApp/src/androidTest/java/com/mapbox/mapboxsdk/testapp/style/SymbolLayerTest.java index d01028c521..74b9555183 100644 --- a/platform/android/MapboxGLAndroidSDKTestApp/src/androidTest/java/com/mapbox/mapboxsdk/testapp/style/SymbolLayerTest.java +++ b/platform/android/MapboxGLAndroidSDKTestApp/src/androidTest/java/com/mapbox/mapboxsdk/testapp/style/SymbolLayerTest.java @@ -928,7 +928,7 @@ public class SymbolLayerTest extends BaseStyleTest { assertNotNull(layer.getTextField().getFunction()); assertEquals(SourceFunction.class, layer.getTextField().getFunction().getClass()); assertEquals("FeaturePropertyA", ((SourceFunction) layer.getTextField().getFunction()).getProperty()); - assertEquals(IdentityStops.class, layer.getTextField().getFunction().getStops().getClass()); + assertEquals(IntervalStops.class, layer.getTextField().getFunction().getStops().getClass()); } @Test @@ -1412,7 +1412,7 @@ public class SymbolLayerTest extends BaseStyleTest { assertNotNull(layer.getTextTransform().getFunction()); assertEquals(SourceFunction.class, layer.getTextTransform().getFunction().getClass()); assertEquals("FeaturePropertyA", ((SourceFunction) layer.getTextTransform().getFunction()).getProperty()); - assertEquals(IdentityStops.class, layer.getTextTransform().getFunction().getStops().getClass()); + assertEquals(IntervalStops.class, layer.getTextTransform().getFunction().getStops().getClass()); } @Test diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/androidTest/java/com/mapbox/mapboxsdk/testapp/style/layer.junit.ejs b/platform/android/MapboxGLAndroidSDKTestApp/src/androidTest/java/com/mapbox/mapboxsdk/testapp/style/layer.junit.ejs index a77d3c033d..f1d68caa24 100644 --- a/platform/android/MapboxGLAndroidSDKTestApp/src/androidTest/java/com/mapbox/mapboxsdk/testapp/style/layer.junit.ejs +++ b/platform/android/MapboxGLAndroidSDKTestApp/src/androidTest/java/com/mapbox/mapboxsdk/testapp/style/layer.junit.ejs @@ -189,7 +189,7 @@ public class <%- camelize(type) %>LayerTest extends BaseStyleTest { assertNotNull(layer.get<%- camelize(property.name) %>().getFunction()); assertEquals(SourceFunction.class, layer.get<%- camelize(property.name) %>().getFunction().getClass()); assertEquals("FeaturePropertyA", ((SourceFunction) layer.get<%- camelize(property.name) %>().getFunction()).getProperty()); - assertEquals(IdentityStops.class, layer.get<%- camelize(property.name) %>().getFunction().getStops().getClass()); + assertEquals(IntervalStops.class, layer.get<%- camelize(property.name) %>().getFunction().getStops().getClass()); } <% } else if (property.type === 'array') { -%> |