From 82b801250ef69cc9dc5f73f64c41ce6d37b86270 Mon Sep 17 00:00:00 2001 From: "Thiago Marcos P. Santos" Date: Thu, 29 Sep 2016 15:31:37 +0300 Subject: [tests] Add unit tests for query features fiters --- test/fixtures/api/query_style.json | 61 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 test/fixtures/api/query_style.json (limited to 'test/fixtures/api') 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" + } + } + ] +} -- cgit v1.2.1