Skip to content

Commit

Permalink
tilejson tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nyurik committed Jan 8, 2023
1 parent fa7e90b commit b7e017d
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 2 deletions.
19 changes: 19 additions & 0 deletions tests/expected/auto/pmt.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"bounds": [
-180,
-85,
180,
85
],
"center": [
0,
0,
0
],
"maxzoom": 3,
"minzoom": 0,
"tilejson": "3.0.0",
"tiles": [
"http://localhost:3111/stamen_toner__raster_CC-BY-ODbL_z3/{z}/{x}/{y}"
]
}
File renamed without changes
1 change: 1 addition & 0 deletions tests/expected/auto/pmt_3_4_2.png.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
tests/output/auto/pmt_3_4_2.png: PNG image data, 256 x 256, 8-bit/color RGBA, non-interlaced
1 change: 0 additions & 1 deletion tests/expected/auto/raster_3_4_2.png.txt

This file was deleted.

3 changes: 2 additions & 1 deletion tests/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,8 @@ test_jsn points3857_srid points3857
test_pbf points3857_srid_0_0_0 points3857/0/0/0

>&2 echo "***** Test server response for PMTiles source *****"
test_png raster_3_4_2 stamen_toner__raster_CC-BY-ODbL_z3/3/4/2
test_jsn pmt stamen_toner__raster_CC-BY-ODbL_z3
test_png pmt_3_4_2 stamen_toner__raster_CC-BY-ODbL_z3/3/4/2

>&2 echo "***** Test server response for table source with empty SRID *****"
echo "IGNORING: This test is currently failing, and has been failing for a while"
Expand Down

0 comments on commit b7e017d

Please sign in to comment.