summaryrefslogtreecommitdiff
path: root/render-test/tests
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2019-10-11 17:06:37 +0300
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2019-10-11 18:29:52 +0300
commit307f9cede112c4c8297adea491f62a82a4dd2b86 (patch)
treeca25e115ac5057fef84f2c391703c3b079f42795 /render-test/tests
parentacd7fba3d50aca132e2d3ce6fb75279b2d1f3631 (diff)
downloadqtlocation-mapboxgl-307f9cede112c4c8297adea491f62a82a4dd2b86.tar.gz
[render-test] Prettyfy metrics output
Diffstat (limited to 'render-test/tests')
-rw-r--r--render-test/tests/filesize/fail-file-doesnt-match/metrics.json15
-rw-r--r--render-test/tests/filesize/fail-size-is-over/metrics.json15
-rw-r--r--render-test/tests/filesize/fail-size-is-under/metrics.json15
-rw-r--r--render-test/tests/filesize/pass-size-is-same/metrics.json15
4 files changed, 56 insertions, 4 deletions
diff --git a/render-test/tests/filesize/fail-file-doesnt-match/metrics.json b/render-test/tests/filesize/fail-file-doesnt-match/metrics.json
index 8401ce91e9..e02fefc652 100644
--- a/render-test/tests/filesize/fail-file-doesnt-match/metrics.json
+++ b/render-test/tests/filesize/fail-file-doesnt-match/metrics.json
@@ -1 +1,14 @@
-{"fileSize":[["image","foo.123",442],["style","bar.321",609]]}
+{
+ "fileSize": [
+ [
+ "image",
+ "expected.aaa",
+ 169
+ ],
+ [
+ "style",
+ "style.bbbb",
+ 510
+ ]
+ ]
+}
diff --git a/render-test/tests/filesize/fail-size-is-over/metrics.json b/render-test/tests/filesize/fail-size-is-over/metrics.json
index 4aa4fe1317..07cd3b42c0 100644
--- a/render-test/tests/filesize/fail-size-is-over/metrics.json
+++ b/render-test/tests/filesize/fail-size-is-over/metrics.json
@@ -1 +1,14 @@
-{"fileSize":[["image","expected.png",999],["style","style.json",999]]}
+{
+ "fileSize": [
+ [
+ "image",
+ "expected.png",
+ 999
+ ],
+ [
+ "style",
+ "style.json",
+ 999
+ ]
+ ]
+}
diff --git a/render-test/tests/filesize/fail-size-is-under/metrics.json b/render-test/tests/filesize/fail-size-is-under/metrics.json
index cd657a4cc1..f09728b5b3 100644
--- a/render-test/tests/filesize/fail-size-is-under/metrics.json
+++ b/render-test/tests/filesize/fail-size-is-under/metrics.json
@@ -1 +1,14 @@
-{"fileSize":[["image","expected.png",100],["style","style.json",100]]}
+{
+ "fileSize": [
+ [
+ "image",
+ "expected.png",
+ 100
+ ],
+ [
+ "style",
+ "style.json",
+ 100
+ ]
+ ]
+}
diff --git a/render-test/tests/filesize/pass-size-is-same/metrics.json b/render-test/tests/filesize/pass-size-is-same/metrics.json
index cf4bb89dd0..82288122b8 100644
--- a/render-test/tests/filesize/pass-size-is-same/metrics.json
+++ b/render-test/tests/filesize/pass-size-is-same/metrics.json
@@ -1 +1,14 @@
-{"fileSize":[["image","expected.png",169],["style","style.json",510]]} \ No newline at end of file
+{
+ "fileSize": [
+ [
+ "image",
+ "expected.png",
+ 169
+ ],
+ [
+ "style",
+ "style.json",
+ 510
+ ]
+ ]
+} \ No newline at end of file