summaryrefslogtreecommitdiff
path: root/test/fixtures/api
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-01-11 15:00:56 -0800
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-01-13 13:40:31 -0800
commit5a7d2fd60ec4bd1639a1223ec5d2c54c534d0392 (patch)
treed37991995bd21955379e690b677fc288109aa2c1 /test/fixtures/api
parent86c8446d3a4390ff6577d070ac8b5fa3ad3c5cd1 (diff)
downloadqtlocation-mapboxgl-5a7d2fd60ec4bd1639a1223ec5d2c54c534d0392.tar.gz
[core] Eliminate platform::assetRoot()
I regenerated assets.zip so that all file paths have an `assets/` prefix, as the Android AssetFileSource implementation asserts, and removed `TEST_DATA` from the paths.
Diffstat (limited to 'test/fixtures/api')
-rw-r--r--test/fixtures/api/assets.zipbin328264 -> 167696 bytes
-rw-r--r--test/fixtures/api/assets/streets.json14
-rw-r--r--test/fixtures/api/assets/streets/0-0-0.vector.pbfbin0 -> 482553 bytes
-rw-r--r--test/fixtures/api/water.json2
4 files changed, 15 insertions, 1 deletions
diff --git a/test/fixtures/api/assets.zip b/test/fixtures/api/assets.zip
index 42a30f1c2a..fe00443f61 100644
--- a/test/fixtures/api/assets.zip
+++ b/test/fixtures/api/assets.zip
Binary files differ
diff --git a/test/fixtures/api/assets/streets.json b/test/fixtures/api/assets/streets.json
new file mode 100644
index 0000000000..f7b259f0a6
--- /dev/null
+++ b/test/fixtures/api/assets/streets.json
@@ -0,0 +1,14 @@
+{
+ "bounds": [ -180, -85.0511, 180, 85.0511 ],
+ "center": [ 0, 0, 0 ],
+ "description": "",
+ "format": "pbf",
+ "id": "streets",
+ "maskLevel": 8,
+ "maxzoom": 15,
+ "minzoom": 0,
+ "name": "Streets",
+ "scheme": "xyz",
+ "tilejson": "2.0.0",
+ "tiles": [ "asset://streets/{z}-{x}-{y}.vector.pbf" ]
+}
diff --git a/test/fixtures/api/assets/streets/0-0-0.vector.pbf b/test/fixtures/api/assets/streets/0-0-0.vector.pbf
new file mode 100644
index 0000000000..a0f049ad43
--- /dev/null
+++ b/test/fixtures/api/assets/streets/0-0-0.vector.pbf
Binary files differ
diff --git a/test/fixtures/api/water.json b/test/fixtures/api/water.json
index c969b345ae..387471b842 100644
--- a/test/fixtures/api/water.json
+++ b/test/fixtures/api/water.json
@@ -4,7 +4,7 @@
"sources": {
"mapbox": {
"type": "vector",
- "url": "asset://TEST_DATA/fixtures/tiles/streets.json"
+ "url": "asset://streets.json"
}
},
"layers": [{