summaryrefslogtreecommitdiff
path: root/metrics/tests/static
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2019-12-17 01:34:34 +0300
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2019-12-17 12:49:26 +0300
commitab1ad4aef27bca73dd7592cbb64f904649ef60ad (patch)
tree5b9f6779607fe3d0edff38aa2f8057f5048a6c32 /metrics/tests/static
parentc3854cedc2b1b7e0fb9b5cb5744d6c9495c1730e (diff)
downloadqtlocation-mapboxgl-upstream/tmpsantos-metrics_real_world.tar.gz
[metrics] Add "real-world" metricsupstream/tmpsantos-metrics_real_world
These tests will render a bigger map that will give a more stable metric for memory baselines.
Diffstat (limited to 'metrics/tests/static')
-rw-r--r--metrics/tests/static/real-world/bangkok/expected.pngbin0 -> 176253 bytes
-rw-r--r--metrics/tests/static/real-world/bangkok/style.json17
-rw-r--r--metrics/tests/static/real-world/chicago/expected.pngbin0 -> 112939 bytes
-rw-r--r--metrics/tests/static/real-world/chicago/style.json17
-rw-r--r--metrics/tests/static/real-world/nepal/expected.pngbin0 -> 199613 bytes
-rw-r--r--metrics/tests/static/real-world/nepal/style.json17
-rw-r--r--metrics/tests/static/real-world/norway/expected.pngbin0 -> 29951 bytes
-rw-r--r--metrics/tests/static/real-world/norway/style.json17
-rw-r--r--metrics/tests/static/real-world/sanfrancisco/expected.pngbin0 -> 122061 bytes
-rw-r--r--metrics/tests/static/real-world/sanfrancisco/style.json17
-rw-r--r--metrics/tests/static/real-world/uruguay/expected.pngbin0 -> 37791 bytes
-rw-r--r--metrics/tests/static/real-world/uruguay/style.json17
12 files changed, 102 insertions, 0 deletions
diff --git a/metrics/tests/static/real-world/bangkok/expected.png b/metrics/tests/static/real-world/bangkok/expected.png
new file mode 100644
index 0000000000..7fd30b91a6
--- /dev/null
+++ b/metrics/tests/static/real-world/bangkok/expected.png
Binary files differ
diff --git a/metrics/tests/static/real-world/bangkok/style.json b/metrics/tests/static/real-world/bangkok/style.json
new file mode 100644
index 0000000000..deca22d175
--- /dev/null
+++ b/metrics/tests/static/real-world/bangkok/style.json
@@ -0,0 +1,17 @@
+{
+ "version": 8,
+ "metadata": {
+ "test": {
+ "width": 512,
+ "height": 512,
+ "operations": [
+ ["setStyle", "local://styles/bangkok.json"],
+ ["setZoom", 12 ],
+ ["setCenter", [100.5434415, 13.714627] ],
+ ["wait"]
+ ]
+ }
+ },
+ "sources": {},
+ "layers": []
+}
diff --git a/metrics/tests/static/real-world/chicago/expected.png b/metrics/tests/static/real-world/chicago/expected.png
new file mode 100644
index 0000000000..336f7036e2
--- /dev/null
+++ b/metrics/tests/static/real-world/chicago/expected.png
Binary files differ
diff --git a/metrics/tests/static/real-world/chicago/style.json b/metrics/tests/static/real-world/chicago/style.json
new file mode 100644
index 0000000000..2443a3f49d
--- /dev/null
+++ b/metrics/tests/static/real-world/chicago/style.json
@@ -0,0 +1,17 @@
+{
+ "version": 8,
+ "metadata": {
+ "test": {
+ "width": 512,
+ "height": 512,
+ "operations": [
+ ["setStyle", "local://styles/chicago.json"],
+ ["setZoom", 13 ],
+ ["setCenter", [-87.6942445, 41.8703965] ],
+ ["wait"]
+ ]
+ }
+ },
+ "sources": {},
+ "layers": []
+}
diff --git a/metrics/tests/static/real-world/nepal/expected.png b/metrics/tests/static/real-world/nepal/expected.png
new file mode 100644
index 0000000000..db914bef1f
--- /dev/null
+++ b/metrics/tests/static/real-world/nepal/expected.png
Binary files differ
diff --git a/metrics/tests/static/real-world/nepal/style.json b/metrics/tests/static/real-world/nepal/style.json
new file mode 100644
index 0000000000..0d648891cd
--- /dev/null
+++ b/metrics/tests/static/real-world/nepal/style.json
@@ -0,0 +1,17 @@
+{
+ "version": 8,
+ "metadata": {
+ "test": {
+ "width": 512,
+ "height": 512,
+ "operations": [
+ ["setStyle", "local://styles/nepal.json"],
+ ["setZoom", 13 ],
+ ["setCenter", [85.48805250000001, 28.115547] ],
+ ["wait"]
+ ]
+ }
+ },
+ "sources": {},
+ "layers": []
+}
diff --git a/metrics/tests/static/real-world/norway/expected.png b/metrics/tests/static/real-world/norway/expected.png
new file mode 100644
index 0000000000..c448aa0444
--- /dev/null
+++ b/metrics/tests/static/real-world/norway/expected.png
Binary files differ
diff --git a/metrics/tests/static/real-world/norway/style.json b/metrics/tests/static/real-world/norway/style.json
new file mode 100644
index 0000000000..df3e8ce7ed
--- /dev/null
+++ b/metrics/tests/static/real-world/norway/style.json
@@ -0,0 +1,17 @@
+{
+ "version": 8,
+ "metadata": {
+ "test": {
+ "width": 512,
+ "height": 512,
+ "operations": [
+ ["setStyle", "local://styles/norway.json"],
+ ["setZoom", 12 ],
+ ["setCenter", [10.8181, 64.863174] ],
+ ["wait"]
+ ]
+ }
+ },
+ "sources": {},
+ "layers": []
+}
diff --git a/metrics/tests/static/real-world/sanfrancisco/expected.png b/metrics/tests/static/real-world/sanfrancisco/expected.png
new file mode 100644
index 0000000000..f04f28512e
--- /dev/null
+++ b/metrics/tests/static/real-world/sanfrancisco/expected.png
Binary files differ
diff --git a/metrics/tests/static/real-world/sanfrancisco/style.json b/metrics/tests/static/real-world/sanfrancisco/style.json
new file mode 100644
index 0000000000..29110468bc
--- /dev/null
+++ b/metrics/tests/static/real-world/sanfrancisco/style.json
@@ -0,0 +1,17 @@
+{
+ "version": 8,
+ "metadata": {
+ "test": {
+ "width": 512,
+ "height": 512,
+ "operations": [
+ ["setStyle", "local://styles/sanfrancisco.json"],
+ ["setZoom", 15 ],
+ ["setCenter", [-122.448635, 37.7669995] ],
+ ["wait"]
+ ]
+ }
+ },
+ "sources": {},
+ "layers": []
+}
diff --git a/metrics/tests/static/real-world/uruguay/expected.png b/metrics/tests/static/real-world/uruguay/expected.png
new file mode 100644
index 0000000000..be28731b27
--- /dev/null
+++ b/metrics/tests/static/real-world/uruguay/expected.png
Binary files differ
diff --git a/metrics/tests/static/real-world/uruguay/style.json b/metrics/tests/static/real-world/uruguay/style.json
new file mode 100644
index 0000000000..9d5c8cb523
--- /dev/null
+++ b/metrics/tests/static/real-world/uruguay/style.json
@@ -0,0 +1,17 @@
+{
+ "version": 8,
+ "metadata": {
+ "test": {
+ "width": 512,
+ "height": 512,
+ "operations": [
+ ["setStyle", "local://styles/uruguay.json"],
+ ["setZoom", 9 ],
+ ["setCenter", [-56.509552, -32.865788] ],
+ ["wait"]
+ ]
+ }
+ },
+ "sources": {},
+ "layers": []
+}