summaryrefslogtreecommitdiff
path: root/test/fixtures/offline_download/style.json
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-04-25 14:51:27 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-04-25 14:51:27 -0700
commite916cc811c781404d305af946ae127d4da338a38 (patch)
tree71b6147b4fb2828de8d418972e631a17e3598be0 /test/fixtures/offline_download/style.json
parent8ce0fb4739f68cd3d5b65b0ded0346053855fa3f (diff)
downloadqtlocation-mapboxgl-e916cc811c781404d305af946ae127d4da338a38.tar.gz
[tests] Rationalize test fixtures (#4834)
Place them in a directory corresponding to the test .cpp file name.
Diffstat (limited to 'test/fixtures/offline_download/style.json')
-rw-r--r--test/fixtures/offline_download/style.json41
1 files changed, 41 insertions, 0 deletions
diff --git a/test/fixtures/offline_download/style.json b/test/fixtures/offline_download/style.json
new file mode 100644
index 0000000000..978df3aae3
--- /dev/null
+++ b/test/fixtures/offline_download/style.json
@@ -0,0 +1,41 @@
+{
+ "version": 8,
+ "name": "Water",
+ "sources": {
+ "mapbox": {
+ "type": "vector",
+ "url": "http://127.0.0.1:3000/streets.json"
+ }
+ },
+ "glyphs": "http://127.0.0.1:3000/{fontstack}/{range}.pbf",
+ "sprite": "http://127.0.0.1:3000/sprite",
+ "layers": [{
+ "id": "background",
+ "type": "background",
+ "paint": {
+ "background-color": "red"
+ }
+ }, {
+ "id": "water",
+ "type": "fill",
+ "source": "mapbox",
+ "source-layer": "water",
+ "paint": {
+ "fill-pattern": "noise"
+ }
+ }, {
+ "id": "admin",
+ "type": "symbol",
+ "source": "mapbox",
+ "source-layer": "admin",
+ "layout": {
+ "text-font": ["Helvetica"],
+ "text-field": "Text"
+ },
+ "paint": {
+ "text-color": "black",
+ "text-halo-color": "white",
+ "text-halo-width": 2
+ }
+ }]
+}