diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2014-07-08 14:38:49 -0700 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2014-07-08 14:38:49 -0700 |
commit | af6091db5a71ae7cd21a2d8348368d1917867bab (patch) | |
tree | 9704f82eff1f638dfbc02d6ba5e76afad878e0fb /test/fixtures/styles | |
parent | 4c75c696b3162c72e7dec21ce0b3f69cae9d1034 (diff) | |
download | qtlocation-mapboxgl-af6091db5a71ae7cd21a2d8348368d1917867bab.tar.gz |
update headless testing to be configurable
Diffstat (limited to 'test/fixtures/styles')
-rw-r--r-- | test/fixtures/styles/0.actual.png | bin | 0 -> 9451 bytes | |||
-rw-r--r-- | test/fixtures/styles/0.expected.png | bin | 0 -> 9451 bytes | |||
-rw-r--r-- | test/fixtures/styles/0.info.json | 8 | ||||
-rw-r--r-- | test/fixtures/styles/0.style.json | 34 |
4 files changed, 42 insertions, 0 deletions
diff --git a/test/fixtures/styles/0.actual.png b/test/fixtures/styles/0.actual.png Binary files differnew file mode 100644 index 0000000000..34e984cce3 --- /dev/null +++ b/test/fixtures/styles/0.actual.png diff --git a/test/fixtures/styles/0.expected.png b/test/fixtures/styles/0.expected.png Binary files differnew file mode 100644 index 0000000000..34e984cce3 --- /dev/null +++ b/test/fixtures/styles/0.expected.png diff --git a/test/fixtures/styles/0.info.json b/test/fixtures/styles/0.info.json new file mode 100644 index 0000000000..3501d30edb --- /dev/null +++ b/test/fixtures/styles/0.info.json @@ -0,0 +1,8 @@ +{ + "zoom": 0, + "latitude": 0, + "longitude": 0, + "angle": 0, + "width": 512, + "height": 512 +} diff --git a/test/fixtures/styles/0.style.json b/test/fixtures/styles/0.style.json new file mode 100644 index 0000000000..06d7a1db1a --- /dev/null +++ b/test/fixtures/styles/0.style.json @@ -0,0 +1,34 @@ +{ + "version": 3, + "sources": { + "mapbox": { + "type": "vector", + "url": "tiles/%d-%d-%d.vector.pbf", + "tileSize": 512, + "maxZoom": 14 + } + }, + "layers": [ + { + "id": "background", + "render": { + "type": "background" + }, + "style": { + "background-color": "red" + } + }, + { + "id": "water", + "source": "mapbox", + "source-layer": "water", + "render": { + "type": "fill" + }, + "style": { + "fill-color": "blue", + "fill-antialias": false + } + } + ] +} |