[build] Reorganize the render tests

Move everything that might collect metrics to the metrics/ directory,
the only test manifests inside the render-test/ directory are the
unit tests of the probes.
This commit is contained in:
Thiago Marcos P. Santos
2019-12-10 17:10:48 +02:00
parent dc61aa7691
commit 970cabe0eb
127 changed files with 355 additions and 336 deletions

View File

@@ -12,8 +12,9 @@ mapbox-gl-js/test/integration/sprites/
vendor/mapbox-gl-styles/styles/
vendor/mapbox-gl-styles/sprites/
vendor/mvt-fixtures/real-world/
render-test/ignores/
metrics/expectations/
metrics/ignores/
metrics/tests/
metrics/next-android-render-test-runner/
render-test/expected/
android-manifest-probe-network-gfx.json
android-manifest-probe-memory.json
metrics/next-android-render-test-runner-metrics.json
metrics/next-android-render-test-runner-style.json

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 731 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 162 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 192 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 96 B

View File

@@ -1,9 +0,0 @@
{
"render-tests/icon-text-fit/both-text-anchor-1x-image-2x-screen": "Temporarily fails as android test app does not derefence symbolinks in sprites folder.",
"render-tests/icon-text-fit/both-text-anchor-2x-image-1x-screen": "Temporarily fails as android test app does not derefence symbolinks in sprites folder.",
"render-tests/regressions/mapbox-gl-native#9976": "Needs to be investigated and fixed.",
"render-tests/regressions/mapbox-gl-js#5911a": "Needs to be investigated and fixed.",
"render-tests/line-pattern/overscaled": "Needs to be investigated and fixed.",
"render-tests/runtime-styling/image-add-pattern": "Needs to be investigated and fixed.",
"render-tests/runtime-styling/image-update-pattern": "Needs to be investigated and fixed."
}

View File

@@ -1,11 +0,0 @@
{
"render-tests/regressions/mapbox-gl-js#7066": "Failing with mbgl-render-test",
"render-tests/regressions/mapbox-gl-js#5642": "Failing with mbgl-render-test",
"render-tests/line-pattern/opacity": "Flaky on Linux: https://github.com/mapbox/mapbox-gl-native/issues/15320",
"render-tests/fill-opacity/zoom-and-property-function-pattern": "Flaky on Linux: https://github.com/mapbox/mapbox-gl-native/issues/15322",
"render-tests/fill-pattern/literal": "Flaky on Linux: https://github.com/mapbox/mapbox-gl-native/issues/14423",
"render-tests/fill-pattern/opacity": "Flaky on Linux: https://github.com/mapbox/mapbox-gl-native/issues/14870",
"render-tests/fill-pattern/zoomed": "Flaky on Linux: https://github.com/mapbox/mapbox-gl-native/issues/14768",
"render-tests/line-translate/literal": "Flaky on Linux: https://github.com/mapbox/mapbox-gl-native/issues/14859"
}

View File

@@ -1,7 +0,0 @@
{
"base_test_path":"../mapbox-gl-js/test/integration",
"expectation_paths":["expected/"],
"ignore_paths":["../platform/node/test/ignores.json", "../render-test/ignores/linux-ignores.json"],
"vendor_path":"../vendor",
"asset_path": "../mapbox-gl-js/test/integration"
}

View File

@@ -1,7 +0,0 @@
{
"probe_test_path":".",
"expectation_paths":["expected/render-tests"],
"ignore_paths":["../render-test/tests/should-fail.json"],
"vendor_path":"../vendor",
"asset_path": "../mapbox-gl-js/test/integration"
}

View File

@@ -1,6 +0,0 @@
{
"base_test_path":"../mapbox-gl-js/test/integration",
"ignore_paths":["../platform/node/test/ignores.json", "../render-test/ignores/linux-ignores.json"],
"vendor_path":"../vendor",
"asset_path": "../mapbox-gl-js/test/integration"
}

View File

@@ -1,5 +0,0 @@
{
"render-tests/regressions/mapbox-gl-js#7066": "Failing with mbgl-render-test",
"render-tests/regressions/mapbox-gl-js#5642": "Failing with mbgl-render-test"
}

View File

@@ -1,7 +0,0 @@
{
"base_test_path":"../mapbox-gl-js/test/integration",
"expectation_paths":["expected/"],
"ignore_paths":["../platform/node/test/ignores.json", "../render-test/mac-ignores.json", "../render-test/tests/should-fail.json"],
"vendor_path":"../vendor",
"asset_path": "../mapbox-gl-js/test/integration"
}

View File

@@ -1,8 +0,0 @@
{
"probe_test_path":".",
"expectation_paths":["expected/"],
"ignore_paths":["../render-test/mac-ignores.json", "../render-test/tests/should-fail.json"],
"vendor_path":"../vendor",
"asset_path": "../mapbox-gl-js/test/integration",
"metric_path":"metrics/mac/"
}

View File

@@ -1,19 +0,0 @@
{
"memory": [
[
"after setZoom 0.9",
21439,
46
],
[
"end",
23385,
91
],
[
"start",
0,
0
]
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 169 B

View File

@@ -1,14 +0,0 @@
{
"file-size": [
[
"image",
"expected.aaa",
169
],
[
"style",
"style.bbbb",
510
]
]
}

View File

@@ -1,32 +0,0 @@
{
"version": 8,
"metadata": {
"test": {
"operations": [
["probeFileSize", "style", "style.json", 0],
["probeFileSize", "image", "expected.png", 0]
],
"width": 64,
"height": 64
}
},
"sources": {
"geojson": {
"type": "geojson",
"data": {
"type": "Point",
"coordinates": [
0,
0
]
}
}
},
"layers": [
{
"id": "circle",
"type": "circle",
"source": "geojson"
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 169 B

View File

@@ -1,32 +0,0 @@
{
"version": 8,
"metadata": {
"test": {
"operations": [
["probeFileSize", "style", "style.aaaa", 0],
["probeFileSize", "image", "expected.bbb", 0]
],
"width": 64,
"height": 64
}
},
"sources": {
"geojson": {
"type": "geojson",
"data": {
"type": "Point",
"coordinates": [
0,
0
]
}
}
},
"layers": [
{
"id": "circle",
"type": "circle",
"source": "geojson"
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 169 B

View File

@@ -1,14 +0,0 @@
{
"file-size": [
[
"image",
"expected.png",
999
],
[
"style",
"style.json",
999
]
]
}

View File

@@ -1,32 +0,0 @@
{
"version": 8,
"metadata": {
"test": {
"operations": [
["probeFileSize", "style", "style.json", 0],
["probeFileSize", "image", "expected.png", 0]
],
"width": 64,
"height": 64
}
},
"sources": {
"geojson": {
"type": "geojson",
"data": {
"type": "Point",
"coordinates": [
0,
0
]
}
}
},
"layers": [
{
"id": "circle",
"type": "circle",
"source": "geojson"
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 169 B

View File

@@ -1,14 +0,0 @@
{
"file-size": [
[
"image",
"expected.png",
100
],
[
"style",
"style.json",
100
]
]
}

View File

@@ -1,32 +0,0 @@
{
"version": 8,
"metadata": {
"test": {
"operations": [
["probeFileSize", "style", "style.json", 0],
["probeFileSize", "image", "expected.png", 0]
],
"width": 64,
"height": 64
}
},
"sources": {
"geojson": {
"type": "geojson",
"data": {
"type": "Point",
"coordinates": [
0,
0
]
}
}
},
"layers": [
{
"id": "circle",
"type": "circle",
"source": "geojson"
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 169 B

View File

@@ -1,14 +0,0 @@
{
"file-size": [
[
"image",
"expected.png",
177
],
[
"style",
"style.json",
548
]
]
}

View File

@@ -1,32 +0,0 @@
{
"version": 8,
"metadata": {
"test": {
"operations": [
["probeFileSize", "style", "style.json", 0.05],
["probeFileSize", "image", "expected.png", 0.05]
],
"width": 64,
"height": 64
}
},
"sources": {
"geojson": {
"type": "geojson",
"data": {
"type": "Point",
"coordinates": [
0,
0
]
}
}
},
"layers": [
{
"id": "circle",
"type": "circle",
"source": "geojson"
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 169 B

View File

@@ -1,14 +0,0 @@
{
"file-size": [
[
"image",
"expected.png",
161
],
[
"style",
"style.json",
498
]
]
}

View File

@@ -1,32 +0,0 @@
{
"version": 8,
"metadata": {
"test": {
"operations": [
["probeFileSize", "style", "style.json", 0.05],
["probeFileSize", "image", "expected.png", 0.05]
],
"width": 64,
"height": 64
}
},
"sources": {
"geojson": {
"type": "geojson",
"data": {
"type": "Point",
"coordinates": [
0,
0
]
}
}
},
"layers": [
{
"id": "circle",
"type": "circle",
"source": "geojson"
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 169 B

View File

@@ -1,24 +0,0 @@
{
"file-size": [
[
"image",
"expected.png",
169
],
[
"image-compressed",
"expected.png",
167
],
[
"style",
"style.json",
674
],
[
"style-compressed",
"style.json",
256
]
]
}

View File

@@ -1,34 +0,0 @@
{
"version": 8,
"metadata": {
"test": {
"operations": [
["probeFileSize", "image", "expected.png", 0],
["probeFileSize", "image-compressed", "expected.png", 0, "compressed"],
["probeFileSize", "style", "style.json", 0],
["probeFileSize", "style-compressed", "style.json", 0, "compressed"]
],
"width": 64,
"height": 64
}
},
"sources": {
"geojson": {
"type": "geojson",
"data": {
"type": "Point",
"coordinates": [
0,
0
]
}
}
},
"layers": [
{
"id": "circle",
"type": "circle",
"source": "geojson"
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

View File

@@ -1,5 +0,0 @@
{
"gfx":[
["gfx 0", 36, 14, 63, 1, [371208, 371208], [68598, 65536], [74592, 74592]]
]
}

View File

@@ -1,20 +0,0 @@
{
"version": 8,
"metadata": {
"test": {
"width": 512,
"height": 512,
"operations": [
["setStyle", "local://styles/uruguay.json"],
["setZoom", 9 ],
["probeGFXStart"],
["setCenter", [-56.509552, -32.865788] ],
["probeGFX", "gfx 0"],
["probeGFXEnd"]
]
}
},
"sources": {},
"layers": []
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

View File

@@ -1,5 +0,0 @@
{
"gfx":[
["gfx 0", 36, 14, 63, -1, [371208, 371208], [68598, 68598], [74592, 74592]]
]
}

View File

@@ -1,20 +0,0 @@
{
"version": 8,
"metadata": {
"test": {
"width": 512,
"height": 512,
"operations": [
["setStyle", "local://styles/uruguay.json"],
["setZoom", 9 ],
["probeGFXStart"],
["setCenter", [-56.509552, -32.865788] ],
["probeGFX", "gfx 0"],
["probeGFXEnd"]
]
}
},
"sources": {},
"layers": []
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

View File

@@ -1,5 +0,0 @@
{
"gfx":[
["gfx 0", 36, 14, 63, 1, [371208, 370000], [68598, 68598], [74592, 74592]]
]
}

View File

@@ -1,20 +0,0 @@
{
"version": 8,
"metadata": {
"test": {
"width": 512,
"height": 512,
"operations": [
["setStyle", "local://styles/uruguay.json"],
["setZoom", 9 ],
["probeGFXStart"],
["setCenter", [-56.509552, -32.865788] ],
["probeGFX", "gfx 0"],
["probeGFXEnd"]
]
}
},
"sources": {},
"layers": []
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

View File

@@ -1,5 +0,0 @@
{
"gfx":[
["gfx 0", 36, 14, 1000, 1, [371208, 371208], [68598, 68598], [74592, 74592]]
]
}

View File

@@ -1,20 +0,0 @@
{
"version": 8,
"metadata": {
"test": {
"width": 512,
"height": 512,
"operations": [
["setStyle", "local://styles/uruguay.json"],
["setZoom", 9 ],
["probeGFXStart"],
["setCenter", [-56.509552, -32.865788] ],
["probeGFX", "gfx 0"],
["probeGFXEnd"]
]
}
},
"sources": {},
"layers": []
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

View File

@@ -1,5 +0,0 @@
{
"gfx":[
["gfx 0", 36, 1000, 63, 1, [371208, 371208], [68598, 68598], [74592, 74592]]
]
}

View File

@@ -1,20 +0,0 @@
{
"version": 8,
"metadata": {
"test": {
"width": 512,
"height": 512,
"operations": [
["setStyle", "local://styles/uruguay.json"],
["setZoom", 9 ],
["probeGFXStart"],
["setCenter", [-56.509552, -32.865788] ],
["probeGFX", "gfx 0"],
["probeGFXEnd"]
]
}
},
"sources": {},
"layers": []
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

View File

@@ -1,5 +0,0 @@
{
"gfx":[
["gfx 0", 28, 14, 63, 1, [371208, 371208], [68598, 68598], [74592, 74592]]
]
}

View File

@@ -1,20 +0,0 @@
{
"version": 8,
"metadata": {
"test": {
"width": 512,
"height": 512,
"operations": [
["setStyle", "local://styles/uruguay.json"],
["setZoom", 9 ],
["probeGFXStart"],
["setCenter", [-56.509552, -32.865788] ],
["probeGFX", "gfx 0"],
["probeGFXEnd"]
]
}
},
"sources": {},
"layers": []
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

View File

@@ -1,5 +0,0 @@
{
"gfx":[
["gfx 0", 36, 14, 63, 1, [371208, 371208], [68598, 68598], [74592, 7654321]]
]
}

View File

@@ -1,20 +0,0 @@
{
"version": 8,
"metadata": {
"test": {
"width": 512,
"height": 512,
"operations": [
["setStyle", "local://styles/uruguay.json"],
["setZoom", 9 ],
["probeGFXStart"],
["setCenter", [-56.509552, -32.865788] ],
["probeGFX", "gfx 0"],
["probeGFXEnd"]
]
}
},
"sources": {},
"layers": []
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

View File

@@ -1,6 +0,0 @@
{
"gfx":[
["gfx 0", 36, 13, 63, 1, [240136, 240136], [68598, 68598], [74592, 74592]],
["gfx 1", 32, 17, 85, 1, [325008, 325008], [84926, 84926], [100224, 100224]]
]
}

View File

@@ -1,22 +0,0 @@
{
"version": 8,
"metadata": {
"test": {
"width": 512,
"height": 512,
"operations": [
["setStyle", "local://styles/uruguay.json"],
["setZoom", 9 ],
["probeGFXStart"],
["setCenter", [-56.509552, -32.865788] ],
["probeGFX", "gfx 0"],
["setCenter", [-56.509552, -32.745788] ],
["probeGFX", "gfx 1"],
["probeGFXEnd"]
]
}
},
"sources": {},
"layers": []
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

View File

@@ -1,6 +0,0 @@
{
"gfx":[
["gfx 0", 36, 13, 63, 1, [240136, 240136], [68598, 68598], [74592, 74592]],
["gfx 1", 32, 17, 85, 1, [84872, 84872], [16328, 16328], [25632, 25632]]
]
}

View File

@@ -1,24 +0,0 @@
{
"version": 8,
"metadata": {
"test": {
"width": 512,
"height": 512,
"operations": [
["setStyle", "local://styles/uruguay.json"],
["setZoom", 9 ],
["probeGFXStart"],
["setCenter", [-56.509552, -32.865788] ],
["probeGFX", "gfx 0"],
["probeGFXEnd"],
["probeGFXStart"],
["setCenter", [-56.509552, -32.745788] ],
["probeGFX", "gfx 1"],
["probeGFXEnd"]
]
}
},
"sources": {},
"layers": []
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

View File

@@ -1,5 +0,0 @@
{
"gfx":[
["gfx 0", 36, 13, 63, 1, [240136, 240136], [68598, 68598], [74592, 74592]]
]
}

View File

@@ -1,20 +0,0 @@
{
"version": 8,
"metadata": {
"test": {
"width": 512,
"height": 512,
"operations": [
["setStyle", "local://styles/uruguay.json"],
["setZoom", 9 ],
["probeGFXStart"],
["setCenter", [-56.509552, -32.865788] ],
["probeGFX", "gfx 0"],
["probeGFXEnd"]
]
}
},
"sources": {},
"layers": []
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 96 B

View File

@@ -1,19 +0,0 @@
{
"memory": [
[
"after setZoom 0.9",
21439,
57
],
[
"end",
20000,
108
],
[
"start",
0,
0
]
]
}

View File

@@ -1,52 +0,0 @@
{
"version": 8,
"metadata": {
"test": {
"width": 64,
"height": 64,
"operations": [
[ "wait" ],
[ "probeMemoryStart" ],
[ "probeMemory", "start" ],
[
"setZoom",
0.9
],
[
"wait"
],
[ "probeMemory", "after setZoom 0.9", 0.005 ],
[
"setLayerZoomRange",
"circle",
1,
2
],
[
"wait"
],
[ "probeMemory", "end", 0.005 ],
[ "probeMemoryEnd" ]
]
}
},
"sources": {
"geojson": {
"type": "geojson",
"data": {
"type": "Point",
"coordinates": [
0,
0
]
}
}
},
"layers": [
{
"id": "circle",
"type": "circle",
"source": "geojson"
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 96 B

View File

@@ -1,19 +0,0 @@
{
"memory": [
[
"after setZoom 0.9",
21439,
57
],
[
"end",
60000,
108
],
[
"start",
0,
0
]
]
}

View File

@@ -1,52 +0,0 @@
{
"version": 8,
"metadata": {
"test": {
"width": 64,
"height": 64,
"operations": [
[ "wait" ],
[ "probeMemoryStart" ],
[ "probeMemory", "start" ],
[
"setZoom",
0.9
],
[
"wait"
],
[ "probeMemory", "after setZoom 0.9", 0.005 ],
[
"setLayerZoomRange",
"circle",
1,
2
],
[
"wait"
],
[ "probeMemory", "end", 0.005 ],
[ "probeMemoryEnd" ]
]
}
},
"sources": {
"geojson": {
"type": "geojson",
"data": {
"type": "Point",
"coordinates": [
0,
0
]
}
}
},
"layers": [
{
"id": "circle",
"type": "circle",
"source": "geojson"
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 96 B

View File

@@ -1,19 +0,0 @@
{
"memory": [
[
"after setZoom 0.9",
21439,
57
],
[
"end",
23385,
108
],
[
"start",
0,
0
]
]
}

View File

@@ -1,52 +0,0 @@
{
"version": 8,
"metadata": {
"test": {
"width": 64,
"height": 64,
"operations": [
[ "wait" ],
[ "probeMemoryStart" ],
[ "probeMemory", "start" ],
[
"setZoom",
0.9
],
[
"wait"
],
[ "probeMemory", "after setZoom 0.9", 0.01 ],
[
"setLayerZoomRange",
"circle",
1,
2
],
[
"wait"
],
[ "probeMemory", "end", 0.01 ],
[ "probeMemoryEnd" ]
]
}
},
"sources": {
"geojson": {
"type": "geojson",
"data": {
"type": "Point",
"coordinates": [
0,
0
]
}
}
},
"layers": [
{
"id": "circle",
"type": "circle",
"source": "geojson"
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

View File

@@ -1,14 +0,0 @@
{
"network": [
[
"end",
2,
200000
],
[
"start",
0,
0
]
]
}

View File

@@ -1,67 +0,0 @@
{
"version": 8,
"metadata": {
"test": {
"operations": [
["probeNetworkStart"],
["probeNetwork", "start"],
["wait"],
["probeNetwork", "end"],
["probeNetworkEnd"]
],
"height": 256,
"width": 1024
}
},
"center": [
-73,
15
],
"zoom": 4.5,
"sources": {
"mapbox": {
"type": "vector",
"maxzoom": 14,
"tiles": [
"local://tiles/mapbox.mapbox-streets-v7/{z}-{x}-{y}.mvt"
]
}
},
"glyphs": "local://glyphs/{fontstack}/{range}.pbf",
"layers": [
{
"id": "background",
"type": "background",
"paint": {
"background-color": "white"
}
},
{
"id": "line-center",
"type": "symbol",
"source": "mapbox",
"source-layer": "marine_label",
"layout": {
"text-field": "{name_en}",
"symbol-placement": "line-center",
"text-allow-overlap": true,
"text-size": 35,
"text-letter-spacing": 0.4,
"text-offset": [3, 0],
"text-font": [
"Open Sans Semibold",
"Arial Unicode MS Bold"
]
}
},
{
"id": "line",
"type": "line",
"source": "mapbox",
"source-layer": "marine_label",
"paint": {
"line-width": 1
}
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

View File

@@ -1,14 +0,0 @@
{
"network": [
[
"end",
2,
183111
],
[
"start",
0,
0
]
]
}

View File

@@ -1,67 +0,0 @@
{
"version": 8,
"metadata": {
"test": {
"operations": [
["probeNetworkStart"],
["probeNetwork", "start"],
["wait"],
["probeNetwork", "end"],
["probeNetworkEnd"]
],
"height": 256,
"width": 1024
}
},
"center": [
-73,
15
],
"zoom": 4.5,
"sources": {
"mapbox": {
"type": "vector",
"maxzoom": 14,
"tiles": [
"local://tiles/mapbox.mapbox-streets-v7/{z}-{x}-{y}.mvt"
]
}
},
"glyphs": "local://glyphs/{fontstack}/{range}.pbf",
"layers": [
{
"id": "background",
"type": "background",
"paint": {
"background-color": "white"
}
},
{
"id": "line-center",
"type": "symbol",
"source": "mapbox",
"source-layer": "marine_label",
"layout": {
"text-field": "{name_en}",
"symbol-placement": "line-center",
"text-allow-overlap": true,
"text-size": 35,
"text-letter-spacing": 0.4,
"text-offset": [3, 0],
"text-font": [
"Open Sans Semibold",
"Arial Unicode MS Bold"
]
}
},
{
"id": "line",
"type": "line",
"source": "mapbox",
"source-layer": "marine_label",
"paint": {
"line-width": 1
}
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

View File

@@ -1,14 +0,0 @@
{
"network": [
[
"end",
3,
100000
],
[
"start",
0,
0
]
]
}

View File

@@ -1,67 +0,0 @@
{
"version": 8,
"metadata": {
"test": {
"operations": [
["probeNetworkStart"],
["probeNetwork", "start"],
["wait"],
["probeNetwork", "end"],
["probeNetworkEnd"]
],
"height": 256,
"width": 1024
}
},
"center": [
-73,
15
],
"zoom": 4.5,
"sources": {
"mapbox": {
"type": "vector",
"maxzoom": 14,
"tiles": [
"local://tiles/mapbox.mapbox-streets-v7/{z}-{x}-{y}.mvt"
]
}
},
"glyphs": "local://glyphs/{fontstack}/{range}.pbf",
"layers": [
{
"id": "background",
"type": "background",
"paint": {
"background-color": "white"
}
},
{
"id": "line-center",
"type": "symbol",
"source": "mapbox",
"source-layer": "marine_label",
"layout": {
"text-field": "{name_en}",
"symbol-placement": "line-center",
"text-allow-overlap": true,
"text-size": 35,
"text-letter-spacing": 0.4,
"text-offset": [3, 0],
"text-font": [
"Open Sans Semibold",
"Arial Unicode MS Bold"
]
}
},
{
"id": "line",
"type": "line",
"source": "mapbox",
"source-layer": "marine_label",
"paint": {
"line-width": 1
}
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

View File

@@ -1,14 +0,0 @@
{
"network": [
[
"end",
3,
183111
],
[
"start",
0,
0
]
]
}

View File

@@ -1,67 +0,0 @@
{
"version": 8,
"metadata": {
"test": {
"operations": [
["probeNetworkStart"],
["probeNetwork", "start"],
["wait"],
["probeNetwork", "end"],
["probeNetworkEnd"]
],
"height": 256,
"width": 1024
}
},
"center": [
-73,
15
],
"zoom": 4.5,
"sources": {
"mapbox": {
"type": "vector",
"maxzoom": 14,
"tiles": [
"local://tiles/mapbox.mapbox-streets-v7/{z}-{x}-{y}.mvt"
]
}
},
"glyphs": "local://glyphs/{fontstack}/{range}.pbf",
"layers": [
{
"id": "background",
"type": "background",
"paint": {
"background-color": "white"
}
},
{
"id": "line-center",
"type": "symbol",
"source": "mapbox",
"source-layer": "marine_label",
"layout": {
"text-field": "{name_en}",
"symbol-placement": "line-center",
"text-allow-overlap": true,
"text-size": 35,
"text-letter-spacing": 0.4,
"text-offset": [3, 0],
"text-font": [
"Open Sans Semibold",
"Arial Unicode MS Bold"
]
}
},
{
"id": "line",
"type": "line",
"source": "mapbox",
"source-layer": "marine_label",
"paint": {
"line-width": 1
}
}
]
}

View File

@@ -1,18 +0,0 @@
{
"tests/file-size/fail-size-is-over": "Should fail, size is bigger than expected.",
"tests/file-size/fail-size-is-under": "Should fail, size is smaller than expected.",
"tests/file-size/fail-file-doesnt-match": "Should fail, doesn't match the expectation.",
"tests/file-size/fail-file-not-found": "Should fail, file not found.",
"tests/network/fail-requests": "Should fail, number of requests higher than expected.",
"tests/network/fail-transferred": "Should fail, amount of transferred data higher than expected.",
"tests/network/fail-requests-transferred": "Should fail, number of requests higher than expected and amount of transferred data less than expected.",
"tests/memory/fail-memory-size-is-too-big": "Should fail, memory size is bigger than expected.",
"tests/memory/fail-memory-size-is-too-small": "Should fail, memory size is smaller than expected.",
"tests/gfx/fail-ib-mem-mismatch": "Should fail, combined byte size of index buffers doesn't match the expectation.",
"tests/gfx/fail-negative-framebuffer-count": "Should fail, number of frame buffers is higher than expected.",
"tests/gfx/fail-texture-mem-mismatch": "Should fail, combined byte size of textures doesn't match the expectation.",
"tests/gfx/fail-too-many-drawcalls": "Should fail, number of draw calls higher than expected.",
"tests/gfx/fail-too-few-buffers": "Should fail, number of vertex and index buffers is smaller than expected.",
"tests/gfx/fail-too-few-textures": "Should fail, number of textures is smaller than expected.",
"tests/gfx/fail-vb-mem-mismatch": "Should fail, combined byte size of index buffers doesn't match the expectation."
}