Checkpoint web parity through Chromium input tasks
This commit is contained in:
59
tests/golden/M12-07F/manifest.json
Normal file
59
tests/golden/M12-07F/manifest.json
Normal file
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M12-07F",
|
||||
"parentTask": "M12-07E",
|
||||
"enablingTask": false,
|
||||
"parityStateChange": false,
|
||||
"runtime": "WEB_TYPESCRIPT_CHROMIUM_WORKER_AND_BLENDER_5_2",
|
||||
"operation": "WEB_STL_TO_DESKTOP_ROUNDTRIP",
|
||||
"assertions": {
|
||||
"browserTriangles": 2,
|
||||
"desktopTriangles": 2,
|
||||
"normalExact": true,
|
||||
"materialLossCode": "STL_MATERIAL_UNSUPPORTED",
|
||||
"desktopExact": true
|
||||
},
|
||||
"artifacts": {
|
||||
"parentManifest": {
|
||||
"path": "tests/golden/M12-07E/manifest.json",
|
||||
"sha256": "19a9f460d1b939c9504dadd364cb87dab3b1769b0599035e2d2b51b47091e034"
|
||||
},
|
||||
"protocol": {
|
||||
"path": "web/protocol/stl-export.ts",
|
||||
"sha256": "3b9c409de9fb3eaea34f82c1ddd466670d2b478845d8ff6af3c4e44cb4e04a52"
|
||||
},
|
||||
"worker": {
|
||||
"path": "web/app/src/workers/stl-roundtrip-test.worker.ts",
|
||||
"sha256": "1da8b8281cf8ebf9ccf5fd2f42da8ed5886001ab83daba8d9fcd88980257af87"
|
||||
},
|
||||
"desktopImporter": {
|
||||
"path": "tools/web/check-stl-web-roundtrip.py",
|
||||
"sha256": "c4cbff52ff2e7cecba7aeab47e865975955da23a0e1e8ff885ece56b894558d5"
|
||||
},
|
||||
"unit": {
|
||||
"path": "web/tests/unit/stl-export.test.mjs",
|
||||
"sha256": "f06af242df80ec26d06e92b749449cfebaf909476198ff825207cdd4b9484102"
|
||||
},
|
||||
"chromium": {
|
||||
"path": "web/tests/e2e/stl-web-roundtrip.spec.ts",
|
||||
"sha256": "2e979dcd030f5316fcbe28e2c19b1c99fe5d111e849d3fc1d2ea316d2159032b"
|
||||
},
|
||||
"checker": {
|
||||
"path": "tools/web/check-stl-web-roundtrip.mjs",
|
||||
"sha256": "093de04bf80b0909eee56ea590e04e7aa4749168e2e49615c62ab39ddc0d16cf"
|
||||
},
|
||||
"report": {
|
||||
"path": "tests/golden/M12-07F/web-roundtrip-report.json",
|
||||
"sha256": "0495c645b4280f6e7821f0ba02010e25d4accbc552e3cd7c58e052607799040e"
|
||||
},
|
||||
"sourceFixture": {
|
||||
"path": "tests/files/web/m12_stl_capability_v1/capability-binary.stl",
|
||||
"sha256": "50161172cd12e4240067064db6f80e74b2df69c475e3e34154e9d0523928c1ca"
|
||||
},
|
||||
"package": {
|
||||
"path": "web/package.json",
|
||||
"sha256": "cfb232baa494ff59f6c8d65514a08c86332ee9354350b2a0392b6f932a7ee42c"
|
||||
}
|
||||
},
|
||||
"nextTask": "M12-07G"
|
||||
}
|
||||
122
tests/golden/M12-07F/web-roundtrip-report.json
Normal file
122
tests/golden/M12-07F/web-roundtrip-report.json
Normal file
@@ -0,0 +1,122 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M12-07F",
|
||||
"operation": "WEB_STL_TO_DESKTOP_ROUNDTRIP",
|
||||
"source": {
|
||||
"sha256": "50161172cd12e4240067064db6f80e74b2df69c475e3e34154e9d0523928c1ca",
|
||||
"bytes": 184
|
||||
},
|
||||
"browser": {
|
||||
"imported": {
|
||||
"schemaVersion": 1,
|
||||
"variant": "STL_BINARY",
|
||||
"unitScale": 1,
|
||||
"declaredTriangleCount": 2,
|
||||
"triangleCount": 2,
|
||||
"removedDegenerateTriangles": 0,
|
||||
"normals": [
|
||||
[
|
||||
0,
|
||||
1,
|
||||
0
|
||||
],
|
||||
[
|
||||
0,
|
||||
1,
|
||||
0
|
||||
]
|
||||
],
|
||||
"vertices": [
|
||||
[
|
||||
[
|
||||
-1,
|
||||
0,
|
||||
1
|
||||
],
|
||||
[
|
||||
1,
|
||||
0,
|
||||
1
|
||||
],
|
||||
[
|
||||
1,
|
||||
0,
|
||||
-1
|
||||
]
|
||||
],
|
||||
[
|
||||
[
|
||||
-1,
|
||||
0,
|
||||
1
|
||||
],
|
||||
[
|
||||
1,
|
||||
0,
|
||||
-1
|
||||
],
|
||||
[
|
||||
-1,
|
||||
0,
|
||||
-1
|
||||
]
|
||||
]
|
||||
],
|
||||
"bounds": {
|
||||
"min": [
|
||||
-1,
|
||||
0,
|
||||
-1
|
||||
],
|
||||
"max": [
|
||||
1,
|
||||
0,
|
||||
1
|
||||
]
|
||||
}
|
||||
},
|
||||
"outputSha256": "689d060c125c41a79d98f4ff241ebe10d9e0f1faebe6e66e507efa962dce1b2d",
|
||||
"outputBytes": 184,
|
||||
"lossReport": {
|
||||
"schemaVersion": 1,
|
||||
"operation": "STL_EXPORT_LOSS_REPORT",
|
||||
"canRoundTrip": true,
|
||||
"warningCount": 1,
|
||||
"warnings": [
|
||||
{
|
||||
"code": "STL_MATERIAL_UNSUPPORTED",
|
||||
"severity": "warning",
|
||||
"message": "STL has no material slots; 2 source material assignments are omitted"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"desktop": {
|
||||
"objectCount": 1,
|
||||
"operation": "DESKTOP_IMPORT_WEB_STL",
|
||||
"polygonCount": 2,
|
||||
"polygonNormals": [
|
||||
[
|
||||
0,
|
||||
1,
|
||||
0
|
||||
],
|
||||
[
|
||||
0,
|
||||
1,
|
||||
0
|
||||
]
|
||||
],
|
||||
"schemaVersion": 1,
|
||||
"sourceBytes": 184,
|
||||
"sourceSha256": "689d060c125c41a79d98f4ff241ebe10d9e0f1faebe6e66e507efa962dce1b2d",
|
||||
"triangleCount": 2,
|
||||
"vertexCount": 4
|
||||
},
|
||||
"comparison": {
|
||||
"triangleCountExact": true,
|
||||
"normalExact": true,
|
||||
"materialLossExplicit": true
|
||||
},
|
||||
"nextTask": "M12-07G"
|
||||
}
|
||||
Reference in New Issue
Block a user