Skip to content

Commit

Permalink
[render tests] Add streets-v11 test for the tile map mode (mapbox#9382)
Browse files Browse the repository at this point in the history
* [render tests] Add streets-v11 test for the tile map mode

* Fix ignore file

* Update test/ignores.json

Co-authored-by: Asheem Mamoowala <asheem.mamoowala@mapbox.com>
  • Loading branch information
2 people authored and mike-unearth committed Mar 18, 2020
1 parent 9fffc04 commit bec8e83
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/ignores.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"render-tests/fill-pattern/update-feature-state": "https://github.com/mapbox/mapbox-gl-js/issues/7207",
"render-tests/text-size/zero": "https://github.com/mapbox/mapbox-gl-js/issues/9161",
"render-tests/text-variable-anchor/left-top-right-buttom-offset-tile-map-mode": "skip - mapbox-gl-js does not need to render tiles",
"render-tests/tile-mode/streets-v11": "skip - mapbox-gl-js does not support tile-mode",
"render-tests/within/filter-with-inlined-geojson": "skip - port https://github.com/mapbox/mapbox-gl-native/pull/16157",
"render-tests/within/paint-circle": "skip - port https://github.com/mapbox/mapbox-gl-native/pull/16157",
"render-tests/within/paint-icon": "skip - port https://github.com/mapbox/mapbox-gl-native/pull/16157",
Expand All @@ -29,4 +30,4 @@
"expression-tests/within/invalid-geojson": "skip - port https://github.com/mapbox/mapbox-gl-native/pull/16157",
"expression-tests/within/non-supported": "skip - port https://github.com/mapbox/mapbox-gl-native/pull/16157",
"expression-tests/within/line-within-polygon": "skip - port https://github.com/mapbox/mapbox-gl-native/pull/16220"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions test/integration/render-tests/tile-mode/streets-v11/style.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"version": 8,
"metadata": {
"test": {
"mapMode":"tile",
"debug": "true",
"collisionDebug": "true",
"operations": [
[ "setStyle", "mapbox://styles/mapbox/streets-v11"]
],
"pixelRatio": 2
}
},
"center": [-73.9959, 40.7106],
"zoom": 13
}

0 comments on commit bec8e83

Please sign in to comment.