Checkpoint web parity through Chromium input tasks
This commit is contained in:
70
tests/golden/M12-07C/manifest.json
Normal file
70
tests/golden/M12-07C/manifest.json
Normal file
@@ -0,0 +1,70 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M12-07C",
|
||||
"parentTask": "M12-07B",
|
||||
"enablingTask": false,
|
||||
"parityStateChange": false,
|
||||
"runtime": "WEB_TYPESCRIPT_CHROMIUM_WORKER_AND_BLENDER_5_2",
|
||||
"operation": "WEB_OBJ_TO_DESKTOP_ROUNDTRIP",
|
||||
"assertions": {
|
||||
"browserObjectCount": 2,
|
||||
"desktopObjectCount": 2,
|
||||
"triangleCountExact": true,
|
||||
"uvLayerPresent": true,
|
||||
"materialPresent": true,
|
||||
"boundTextureLossWarnings": 0,
|
||||
"missingTextureLossWarnings": 2,
|
||||
"desktopExact": true
|
||||
},
|
||||
"artifacts": {
|
||||
"parentManifest": {
|
||||
"path": "tests/golden/M12-07B/manifest.json",
|
||||
"sha256": "785f593271058098704498cb0a7c948305087f1a83bf8f29b6e6fb9fe9341926"
|
||||
},
|
||||
"protocol": {
|
||||
"path": "web/protocol/obj-import.ts",
|
||||
"sha256": "e7240af65e0d90f3ee690a4e3f391416fe4744ac6c46edc8ac0d72386857cab9"
|
||||
},
|
||||
"worker": {
|
||||
"path": "web/app/src/workers/obj-roundtrip-test.worker.ts",
|
||||
"sha256": "bf1fcc60ec318cf6c2747d44f4af741b46f284cf5f5307e142f0ab6d50b14302"
|
||||
},
|
||||
"desktopImporter": {
|
||||
"path": "tools/web/check-obj-web-roundtrip.py",
|
||||
"sha256": "9f1eb4ab679255a0f1f596696e8befc33a4e30c0cbe6ea423e2aaa0314cec22d"
|
||||
},
|
||||
"unit": {
|
||||
"path": "web/tests/unit/obj-import.test.mjs",
|
||||
"sha256": "485a669be5de8e370e9b5a3239357b028ba61ca5c4076819cd46aed52a5c210a"
|
||||
},
|
||||
"chromium": {
|
||||
"path": "web/tests/e2e/obj-web-roundtrip.spec.ts",
|
||||
"sha256": "93785b4017ba14b007926b0f82442f8ae5968f242a2a762e5f5dc77d36110f5b"
|
||||
},
|
||||
"checker": {
|
||||
"path": "tools/web/check-obj-web-roundtrip.mjs",
|
||||
"sha256": "9d53014f4b89f786c516ebe8d300030c2728e4a36a86a5ef136b2769a12ac96b"
|
||||
},
|
||||
"report": {
|
||||
"path": "tests/golden/M12-07C/web-roundtrip-report.json",
|
||||
"sha256": "45eaffc9c2e50c84b557d13ebbe9f4f53b63e19e00bc69b272491ef6366dff81"
|
||||
},
|
||||
"objFixture": {
|
||||
"path": "tests/files/web/m12_obj_multi_v1/multi-object.obj",
|
||||
"sha256": "4ed3dced8445b03754cd3916ae2e8cf0dff85e6a5882f1c6f0a4a4e4c5251f6a"
|
||||
},
|
||||
"mtlFixture": {
|
||||
"path": "tests/files/web/m12_obj_multi_v1/multi-object.mtl",
|
||||
"sha256": "80338f569c67a8b1616515ba878ffc72b26e93ef2e8c361131023fb14f132f5f"
|
||||
},
|
||||
"textureFixture": {
|
||||
"path": "tests/files/web/m12_obj_multi_v1/m12_obj_texture.png",
|
||||
"sha256": "44e4fd08bdda8403908349e2a62dcf103ce2d0851099fc61cd868d65ddbef78c"
|
||||
},
|
||||
"package": {
|
||||
"path": "web/package.json",
|
||||
"sha256": "cfb232baa494ff59f6c8d65514a08c86332ee9354350b2a0392b6f932a7ee42c"
|
||||
}
|
||||
},
|
||||
"nextTask": "M12-07D"
|
||||
}
|
||||
95
tests/golden/M12-07C/web-roundtrip-report.json
Normal file
95
tests/golden/M12-07C/web-roundtrip-report.json
Normal file
@@ -0,0 +1,95 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M12-07C",
|
||||
"operation": "WEB_OBJ_TO_DESKTOP_ROUNDTRIP",
|
||||
"source": {
|
||||
"objSha256": "4ed3dced8445b03754cd3916ae2e8cf0dff85e6a5882f1c6f0a4a4e4c5251f6a",
|
||||
"mtlSha256": "80338f569c67a8b1616515ba878ffc72b26e93ef2e8c361131023fb14f132f5f",
|
||||
"textureSha256": "44e4fd08bdda8403908349e2a62dcf103ce2d0851099fc61cd868d65ddbef78c"
|
||||
},
|
||||
"browser": {
|
||||
"imported": {
|
||||
"schemaVersion": 1,
|
||||
"objectCount": 2,
|
||||
"positionCount": 6,
|
||||
"texcoordCount": 6,
|
||||
"normalCount": 2,
|
||||
"faceCount": 2,
|
||||
"materialCount": 2
|
||||
},
|
||||
"outputObjSha256": "64d419bea9738bd584e61214b34aa67e5ed2204a0e2e1db6ed334f8561d63276",
|
||||
"outputMtlSha256": "4e00c589ed29d99994119cfa12ae9f4ef7cc13c33fdd6ee8ce2eb97e6cf61c29",
|
||||
"lossReport": {
|
||||
"schemaVersion": 1,
|
||||
"operation": "OBJ_EXPORT_LOSS_REPORT",
|
||||
"canRoundTrip": true,
|
||||
"warningCount": 0,
|
||||
"warnings": []
|
||||
},
|
||||
"missingTextureLoss": {
|
||||
"schemaVersion": 1,
|
||||
"operation": "OBJ_EXPORT_LOSS_REPORT",
|
||||
"canRoundTrip": true,
|
||||
"warningCount": 2,
|
||||
"warnings": [
|
||||
{
|
||||
"code": "OBJ_TEXTURE_ORIGIN_UNRESOLVED",
|
||||
"severity": "warning",
|
||||
"message": "OBJ texture m12_obj_texture.png is not bound to a supplied asset",
|
||||
"path": "m12_obj_texture.png"
|
||||
},
|
||||
{
|
||||
"code": "OBJ_TEXTURE_ORIGIN_UNRESOLVED",
|
||||
"severity": "warning",
|
||||
"message": "OBJ texture m12_obj_texture.png is not bound to a supplied asset",
|
||||
"path": "m12_obj_texture.png"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"desktop": {
|
||||
"meshCount": 2,
|
||||
"objectCount": 2,
|
||||
"objects": [
|
||||
{
|
||||
"materials": [
|
||||
"M12_OBJ_Left_Material"
|
||||
],
|
||||
"name": "M12_OBJ_Left_M12_OBJ_Left_Material",
|
||||
"normalCount": 3,
|
||||
"polygonCount": 1,
|
||||
"triangleCount": 1,
|
||||
"uvLayers": [
|
||||
"UVMap"
|
||||
],
|
||||
"uvLoopCount": 3,
|
||||
"vertexCount": 3
|
||||
},
|
||||
{
|
||||
"materials": [
|
||||
"M12_OBJ_Right_Material"
|
||||
],
|
||||
"name": "M12_OBJ_Right_M12_OBJ_Right_Material",
|
||||
"normalCount": 3,
|
||||
"polygonCount": 1,
|
||||
"triangleCount": 1,
|
||||
"uvLayers": [
|
||||
"UVMap"
|
||||
],
|
||||
"uvLoopCount": 3,
|
||||
"vertexCount": 3
|
||||
}
|
||||
],
|
||||
"operation": "DESKTOP_IMPORT_WEB_OBJ",
|
||||
"schemaVersion": 1,
|
||||
"sourceObjBytes": 518,
|
||||
"sourceObjSha256": "64d419bea9738bd584e61214b34aa67e5ed2204a0e2e1db6ed334f8561d63276"
|
||||
},
|
||||
"comparisons": {
|
||||
"objectCountExact": true,
|
||||
"triangleCountExact": true,
|
||||
"uvLayerPresent": true,
|
||||
"materialPresent": true
|
||||
},
|
||||
"nextTask": "M12-07D"
|
||||
}
|
||||
Reference in New Issue
Block a user