[render-test] Add gfx probe test cases

This commit is contained in:
Mikko Pulkki
2019-10-23 20:53:19 +03:00
committed by Mikko Pulkki
parent a7a7e8cbe2
commit 6900ac9837
31 changed files with 266 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

View File

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

View File

@@ -0,0 +1,20 @@
{
"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.

After

Width:  |  Height:  |  Size: 45 KiB

View File

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

View File

@@ -0,0 +1,20 @@
{
"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.

After

Width:  |  Height:  |  Size: 45 KiB

View File

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

View File

@@ -0,0 +1,20 @@
{
"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.

After

Width:  |  Height:  |  Size: 45 KiB

View File

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

View File

@@ -0,0 +1,20 @@
{
"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.

After

Width:  |  Height:  |  Size: 45 KiB

View File

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

View File

@@ -0,0 +1,20 @@
{
"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.

After

Width:  |  Height:  |  Size: 45 KiB

View File

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

View File

@@ -0,0 +1,20 @@
{
"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.

After

Width:  |  Height:  |  Size: 45 KiB

View File

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

View File

@@ -0,0 +1,20 @@
{
"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.

After

Width:  |  Height:  |  Size: 41 KiB

View File

@@ -0,0 +1,6 @@
{
"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

@@ -0,0 +1,22 @@
{
"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.

After

Width:  |  Height:  |  Size: 41 KiB

View File

@@ -0,0 +1,6 @@
{
"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

@@ -0,0 +1,24 @@
{
"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.

After

Width:  |  Height:  |  Size: 45 KiB

View File

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

View File

@@ -0,0 +1,20 @@
{
"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": []
}

View File

@@ -7,5 +7,12 @@
"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/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."
}