diff options
author | Lauren Budorick <lauren@mapbox.com> | 2018-04-16 17:38:53 -0700 |
---|---|---|
committer | Lauren Budorick <lauren@mapbox.com> | 2018-04-16 17:38:53 -0700 |
commit | cfd97e5ceaa7b88d591bdb730ae1e9b70dcaa5f5 (patch) | |
tree | 781f03674488d8a5cc1e8388d5b85c9a0766bb0c /platform/android/MapboxGLAndroidSDKTestApp/src/androidTest/java/com/mapbox/mapboxsdk/testapp/style/layer.junit.ejs | |
parent | 8b10bb38c0a7d6e0a1225e185acde5ec8a604bdc (diff) | |
download | qtlocation-mapboxgl-upstream/expression-spec.tar.gz |
Bump gl-js pin: ignore line-gradient properties + shaders, use new expression style-spec taxonomyupstream/expression-spec
Diffstat (limited to 'platform/android/MapboxGLAndroidSDKTestApp/src/androidTest/java/com/mapbox/mapboxsdk/testapp/style/layer.junit.ejs')
-rw-r--r-- | platform/android/MapboxGLAndroidSDKTestApp/src/androidTest/java/com/mapbox/mapboxsdk/testapp/style/layer.junit.ejs | 6 |
1 files changed, 3 insertions, 3 deletions
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 206497b860..5e1d1f64d3 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 @@ -176,7 +176,7 @@ public class <%- camelize(type) %>LayerTest extends BaseActivityTest { layer.setProperties( <%- camelizeWithLeadingLowercase(property.name) %>( zoom( -<% if (property.function == 'piecewise-constant') { -%> +<% if (!isInterpolable(property)) { -%> interval( stop(2, <%- camelizeWithLeadingLowercase(property.name) %>(<%- defaultValueJava(property) %>)) ) @@ -193,7 +193,7 @@ public class <%- camelize(type) %>LayerTest extends BaseActivityTest { assertNotNull(layer.get<%- camelize(property.name) %>()); assertNotNull(layer.get<%- camelize(property.name) %>().getFunction()); assertEquals(CameraFunction.class, layer.get<%- camelize(property.name) %>().getFunction().getClass()); -<% if (property.function == 'piecewise-constant') { -%> +<% if (!isInterpolable(property)) { -%> assertEquals(IntervalStops.class, layer.get<%- camelize(property.name) %>().getFunction().getStops().getClass()); assertEquals(1, ((IntervalStops) layer.get<%- camelize(property.name) %>().getFunction().getStops()).size()); <% } else { -%> @@ -231,7 +231,7 @@ public class <%- camelize(type) %>LayerTest extends BaseActivityTest { } }); } -<% if (property.function == 'piecewise-constant') { -%> +<% if (!isInterpolable(property)) { -%> @Test public void test<%- camelize(property.name) %>AsIntervalSourceFunction() { |