summaryrefslogtreecommitdiff
path: root/test/fixtures
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <thiago@mapbox.com>2016-09-29 15:31:37 +0300
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2016-10-05 11:12:16 +0300
commit82b801250ef69cc9dc5f73f64c41ce6d37b86270 (patch)
tree1e67c6c2a0126e35db5192f65ad651d091480e5e /test/fixtures
parent5829c0dbc6e7785cec5af12891ba2ead784d1a69 (diff)
downloadqtlocation-mapboxgl-82b801250ef69cc9dc5f73f64c41ce6d37b86270.tar.gz
[tests] Add unit tests for query features fiters
Diffstat (limited to 'test/fixtures')
-rw-r--r--test/fixtures/api/query_style.json61
1 files changed, 61 insertions, 0 deletions
diff --git a/test/fixtures/api/query_style.json b/test/fixtures/api/query_style.json
new file mode 100644
index 0000000000..6978e1ba1b
--- /dev/null
+++ b/test/fixtures/api/query_style.json
@@ -0,0 +1,61 @@
+{
+ "version": 8,
+ "sources": {
+ "source1": {
+ "type": "geojson",
+ "data": {
+ "type": "Point",
+ "coordinates": [
+ 0,
+ 0
+ ]
+ }
+ },
+ "source2": {
+ "type": "geojson",
+ "data": {
+ "type": "Point",
+ "coordinates": [
+ 0,
+ 0
+ ]
+ }
+ },
+ "source3": {
+ "type": "geojson",
+ "data": {
+ "type": "Point",
+ "coordinates": [
+ 0,
+ 0
+ ]
+ }
+ }
+ },
+ "layers": [
+ {
+ "id": "layer1",
+ "type": "symbol",
+ "source": "source1",
+ "layout": {
+ "icon-image": "test-icon"
+ }
+ },
+ {
+ "id": "layer2",
+ "type": "symbol",
+ "source": "source2",
+ "layout": {
+ "icon-image": "test-icon"
+ }
+ },
+ {
+ "id": "layer3",
+ "type": "symbol",
+ "source": "source3",
+ "layout": {
+ "icon-image": "test-icon"
+ }
+ }
+ ]
+}