From dff6bf91eca37071bb25356295f53f7e2aa4230d Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Thu, 20 Apr 2017 14:40:30 -0700 Subject: [PATCH] Add regression test --- .../mapbox-gl-js#3949/expected.png | Bin 0 -> 210 bytes .../regressions/mapbox-gl-js#3949/style.json | 78 ++++++++++++++++++ 2 files changed, 78 insertions(+) create mode 100644 test/integration/render-tests/regressions/mapbox-gl-js#3949/expected.png create mode 100644 test/integration/render-tests/regressions/mapbox-gl-js#3949/style.json diff --git a/test/integration/render-tests/regressions/mapbox-gl-js#3949/expected.png b/test/integration/render-tests/regressions/mapbox-gl-js#3949/expected.png new file mode 100644 index 0000000000000000000000000000000000000000..fa15a2a551d3dab69753d2808dde09c613b46206 GIT binary patch literal 210 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0I1|(Ny7TyC=Or9=|Ar*{or0OmKdEFr1+k+c@ z4+A*|5BoGev2;k|(#mg~V&|QrrSoECrV*oXfZMtW8)Ulv%vJH61VuYpzi*TN*u`G6 zt4~t@$D!@K?{YqOl#6rEd;6Mqa<_WTkHrVg)U$=%eoGogTHj14c+7TNW{s}J?emh| qTbt|69(COOdd4DY3c|pjcllYZ`7b9dS!4%v34^DrpUXO@geCyuv`()8 literal 0 HcmV?d00001 diff --git a/test/integration/render-tests/regressions/mapbox-gl-js#3949/style.json b/test/integration/render-tests/regressions/mapbox-gl-js#3949/style.json new file mode 100644 index 00000000000..e37e4667c08 --- /dev/null +++ b/test/integration/render-tests/regressions/mapbox-gl-js#3949/style.json @@ -0,0 +1,78 @@ +{ + "version": 8, + "metadata": { + "test": { + "width": 64, + "height": 64, + "operations": [ + [ + "wait" + ], + [ + "setPaintProperty", + "circle", + "circle-radius", + 3 + ], + [ + "wait" + ] + ] + } + }, + "transition": { + "duration": 0 + }, + "sources": { + "geojson": { + "type": "geojson", + "data": { + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "properties": { + "radius": 10 + }, + "geometry": { + "type": "Point", + "coordinates": [ + -10, + 0 + ] + } + }, + { + "type": "Feature", + "properties": { + "radius": 15 + }, + "geometry": { + "type": "Point", + "coordinates": [ + 10, + 0 + ] + } + } + ] + } + } + }, + "layers": [ + { + "id": "circle", + "type": "circle", + "source": "geojson", + "paint": { + "circle-radius": { + "property": "radius", + "stops": [ + [{"value": 10, "zoom": 0}, 10], + [{"value": 15, "zoom": 0}, 15] + ] + } + } + } + ] +}