summaryrefslogtreecommitdiff
path: root/test/fixtures/styles
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-07-08 14:38:49 -0700
committerKonstantin Käfer <mail@kkaefer.com>2014-07-08 14:38:49 -0700
commitaf6091db5a71ae7cd21a2d8348368d1917867bab (patch)
tree9704f82eff1f638dfbc02d6ba5e76afad878e0fb /test/fixtures/styles
parent4c75c696b3162c72e7dec21ce0b3f69cae9d1034 (diff)
downloadqtlocation-mapboxgl-af6091db5a71ae7cd21a2d8348368d1917867bab.tar.gz
update headless testing to be configurable
Diffstat (limited to 'test/fixtures/styles')
-rw-r--r--test/fixtures/styles/0.actual.pngbin0 -> 9451 bytes
-rw-r--r--test/fixtures/styles/0.expected.pngbin0 -> 9451 bytes
-rw-r--r--test/fixtures/styles/0.info.json8
-rw-r--r--test/fixtures/styles/0.style.json34
4 files changed, 42 insertions, 0 deletions
diff --git a/test/fixtures/styles/0.actual.png b/test/fixtures/styles/0.actual.png
new file mode 100644
index 0000000000..34e984cce3
--- /dev/null
+++ b/test/fixtures/styles/0.actual.png
Binary files differ
diff --git a/test/fixtures/styles/0.expected.png b/test/fixtures/styles/0.expected.png
new file mode 100644
index 0000000000..34e984cce3
--- /dev/null
+++ b/test/fixtures/styles/0.expected.png
Binary files differ
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
+ }
+ }
+ ]
+}