summaryrefslogtreecommitdiff
path: root/render-test/tests/filesize/fail-size-is-over/style.json
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2019-10-09 22:00:30 +0300
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2019-10-10 19:54:51 +0300
commit629c0e1142a382ada101e93e7c58bd2b1bce37bc (patch)
treea97af3a7b2359c2e525f73d759beac8f2fae74bd /render-test/tests/filesize/fail-size-is-over/style.json
parent2e002746eb6fcbf389fd4c59fa55bd8ee527076f (diff)
downloadqtlocation-mapboxgl-629c0e1142a382ada101e93e7c58bd2b1bce37bc.tar.gz
[render-test] Add tests for filesize probe
And make sure we run it on the bots
Diffstat (limited to 'render-test/tests/filesize/fail-size-is-over/style.json')
-rw-r--r--render-test/tests/filesize/fail-size-is-over/style.json36
1 files changed, 36 insertions, 0 deletions
diff --git a/render-test/tests/filesize/fail-size-is-over/style.json b/render-test/tests/filesize/fail-size-is-over/style.json
new file mode 100644
index 0000000000..ce2069a372
--- /dev/null
+++ b/render-test/tests/filesize/fail-size-is-over/style.json
@@ -0,0 +1,36 @@
+{
+ "version": 8,
+ "metadata": {
+ "test": {
+ "operations": [
+ ["probeFileSize", "style", "style.json"],
+ ["probeFileSize", "image", "expected.png"]
+ ],
+ "width": 64,
+ "height": 64
+ }
+ },
+ "sources": {
+ "geojson": {
+ "type": "geojson",
+ "data": {
+ "type": "Point",
+ "coordinates": [
+ 0,
+ 0
+ ]
+ }
+ }
+ },
+ "sprite": "local://sprites/sprite",
+ "layers": [
+ {
+ "id": "symbol",
+ "type": "symbol",
+ "source": "geojson",
+ "layout": {
+ "icon-image": "circle-12"
+ }
+ }
+ ]
+}