Checkpoint web parity through Chromium input tasks
This commit is contained in:
27
tests/golden/M12-07H/manifest.json
Normal file
27
tests/golden/M12-07H/manifest.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M12-07H",
|
||||
"parentTask": "M12-07G",
|
||||
"enablingTask": false,
|
||||
"parityStateChange": false,
|
||||
"runtime": "BLENDER_5_2_DESKTOP_AND_CHROMIUM",
|
||||
"operation": "PLY_VERTEX_FACE_COLOR_CUSTOM_MAPPING",
|
||||
"artifacts": {
|
||||
"parentManifest": { "path": "tests/golden/M12-07G/manifest.json", "sha256": "87df9c12f9c6eacf63051b70e9bb2eb43ebd1e5c4487b3512c45adb94cbb82ea" },
|
||||
"generator": { "path": "tools/web/generate-ply-mapping-fixtures.py", "sha256": "ffc051eccfc6973ee00cc791cdbd641fcce308b4083741e3e6ae82291d9347b7" },
|
||||
"fixtureChecker": { "path": "tools/web/check-ply-mapping-fixtures.mjs", "sha256": "2b055dbc705830848efdf4d8db8543a3ccc684de1f258732bcafefa86cf65c3a" },
|
||||
"desktopImporter": { "path": "tools/web/check-ply-web-roundtrip.py", "sha256": "6edbc6e401a1a902dcfd11c4d767e8c8620d694e40eb4ca29dd8479f9c55ef37" },
|
||||
"protocol": { "path": "web/protocol/ply-import.ts", "sha256": "058a3263fde553637840a4e9ad4e8e9d923eb52c250f8000317c7f43a228881d" },
|
||||
"worker": { "path": "web/app/src/workers/ply-roundtrip-test.worker.ts", "sha256": "f6bf5e39e83286d7b257bbdce88f4d7fa027c64651da9765567788b5cf298c71" },
|
||||
"unitTest": { "path": "web/tests/unit/ply-import.test.mjs", "sha256": "b03a5f4b4b2a974fa26e653763470b92d1433c5d352ae09ab5492b841e6e5e1f" },
|
||||
"e2eTest": { "path": "web/tests/e2e/ply-web-roundtrip.spec.ts", "sha256": "2cadebc89057655d78e9b520bb6adf9debb27c6d783cd002efee08d269636fb9" },
|
||||
"mappingReport": { "path": "tests/golden/M12-07H/mapping-report.json", "sha256": "8a02fc9e364ed79e50ef00897affa9ab63808d3cb3cdabd00fdb8ee4c26ec18a" },
|
||||
"webRoundtripReport": { "path": "tests/golden/M12-07H/web-roundtrip-report.json", "sha256": "1ca9d3b7870fcc8c9e3c9bbbd90ef48bd13bbc9ae0462312c9482f24f05f13ec" },
|
||||
"asciiFixture": { "path": "tests/files/web/m12_ply_mapping_v1/mapping-ascii.ply", "sha256": "acaa369c17252d4d089a2e3064d0c1fcdfdb2d066759ed160adf7869d3e859d5" },
|
||||
"binaryFixture": { "path": "tests/files/web/m12_ply_mapping_v1/mapping-binary-le.ply", "sha256": "d0fc195fd1a101c42ac984a2382bccdddb7d0bf60dd618e9f637c964f1b30b9e" },
|
||||
"unknownFixture": { "path": "tests/files/web/m12_ply_mapping_v1/unknown-property-ascii.ply", "sha256": "a994c7126f235d0067ce4af35f8b0c6699cc83073e2a37e982edd45ece459f33" },
|
||||
"runtimeInventory": { "path": "tests/golden/M12-05A/format-inventory.json", "sha256": "0d660b0fd8b647ebbf4e91afebd5006bd100973ab8e2507a5bfe759f477b33b4" },
|
||||
"package": { "path": "web/package.json", "sha256": "c56c653effb38f9ac9c53aa19a531ca0cdab04d4457212f286349091d5b65c22" }
|
||||
},
|
||||
"nextTask": "M12-07I"
|
||||
}
|
||||
292
tests/golden/M12-07H/mapping-report.json
Normal file
292
tests/golden/M12-07H/mapping-report.json
Normal file
@@ -0,0 +1,292 @@
|
||||
{
|
||||
"files": [
|
||||
{
|
||||
"byteLength": 521,
|
||||
"name": "mapping-ascii.ply",
|
||||
"sha256": "acaa369c17252d4d089a2e3064d0c1fcdfdb2d066759ed160adf7869d3e859d5"
|
||||
},
|
||||
{
|
||||
"byteLength": 568,
|
||||
"name": "mapping-binary-le.ply",
|
||||
"sha256": "d0fc195fd1a101c42ac984a2382bccdddb7d0bf60dd618e9f637c964f1b30b9e"
|
||||
},
|
||||
{
|
||||
"byteLength": 586,
|
||||
"name": "unknown-property-ascii.ply",
|
||||
"sha256": "a994c7126f235d0067ce4af35f8b0c6699cc83073e2a37e982edd45ece459f33"
|
||||
}
|
||||
],
|
||||
"nextTask": "M12-07I",
|
||||
"operation": "PLY_VERTEX_FACE_COLOR_CUSTOM_MAPPING",
|
||||
"operator": "wm.ply_export",
|
||||
"runtime": {
|
||||
"binarySha256": "d4483926610484ef9c2ad9241aae1469f934d955ebe791f1920e263e0ba85b82",
|
||||
"blenderVersion": "5.2.0 LTS",
|
||||
"buildBranch": "unknown",
|
||||
"buildDate": "2026-07-24",
|
||||
"buildHash": "unknown",
|
||||
"buildPlatform": "Linux",
|
||||
"buildTime": "08:03:47",
|
||||
"buildType": "Release",
|
||||
"versionTuple": [
|
||||
5,
|
||||
2,
|
||||
0
|
||||
]
|
||||
},
|
||||
"schemaVersion": 1,
|
||||
"settings": {
|
||||
"exportAttributes": true,
|
||||
"exportColors": "SRGB",
|
||||
"exportNormals": true,
|
||||
"exportSelectedObjects": true,
|
||||
"exportTriangulatedMesh": true,
|
||||
"exportUV": false,
|
||||
"forwardAxis": "NEGATIVE_Z",
|
||||
"globalScale": 1.0,
|
||||
"upAxis": "Y"
|
||||
},
|
||||
"sourceAnchor": "blender-5.2.0/source/blender/io/ply",
|
||||
"task": "M12-07H",
|
||||
"unknownProperty": {
|
||||
"expectedCode": "PLY_UNKNOWN_PROPERTY",
|
||||
"file": "unknown-property-ascii.ply",
|
||||
"property": "unknown_values"
|
||||
},
|
||||
"variants": [
|
||||
{
|
||||
"file": "mapping-ascii.ply",
|
||||
"id": "PLY_ASCII_MAPPING",
|
||||
"semantic": {
|
||||
"faceCount": 2,
|
||||
"faces": [
|
||||
{
|
||||
"customProperties": {},
|
||||
"indices": [
|
||||
0,
|
||||
1,
|
||||
2
|
||||
]
|
||||
},
|
||||
{
|
||||
"customProperties": {},
|
||||
"indices": [
|
||||
0,
|
||||
2,
|
||||
3
|
||||
]
|
||||
}
|
||||
],
|
||||
"format": "ascii",
|
||||
"vertexCount": 4,
|
||||
"vertices": [
|
||||
{
|
||||
"color": [
|
||||
254,
|
||||
0,
|
||||
0,
|
||||
255
|
||||
],
|
||||
"customProperties": {
|
||||
"label": 1.0,
|
||||
"temperature": 10.0
|
||||
},
|
||||
"normal": [
|
||||
0.0,
|
||||
1.0,
|
||||
0.0
|
||||
],
|
||||
"position": [
|
||||
-1.0,
|
||||
0.0,
|
||||
1.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"color": [
|
||||
0,
|
||||
254,
|
||||
0,
|
||||
255
|
||||
],
|
||||
"customProperties": {
|
||||
"label": 2.0,
|
||||
"temperature": 20.0
|
||||
},
|
||||
"normal": [
|
||||
0.0,
|
||||
1.0,
|
||||
0.0
|
||||
],
|
||||
"position": [
|
||||
1.0,
|
||||
0.0,
|
||||
1.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"color": [
|
||||
0,
|
||||
0,
|
||||
254,
|
||||
255
|
||||
],
|
||||
"customProperties": {
|
||||
"label": 3.0,
|
||||
"temperature": 30.0
|
||||
},
|
||||
"normal": [
|
||||
0.0,
|
||||
1.0,
|
||||
0.0
|
||||
],
|
||||
"position": [
|
||||
1.0,
|
||||
0.0,
|
||||
-1.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"color": [
|
||||
254,
|
||||
254,
|
||||
0,
|
||||
255
|
||||
],
|
||||
"customProperties": {
|
||||
"label": 4.0,
|
||||
"temperature": 40.0
|
||||
},
|
||||
"normal": [
|
||||
0.0,
|
||||
1.0,
|
||||
0.0
|
||||
],
|
||||
"position": [
|
||||
-1.0,
|
||||
0.0,
|
||||
-1.0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"file": "mapping-binary-le.ply",
|
||||
"id": "PLY_BINARY_LITTLE_ENDIAN_MAPPING",
|
||||
"semantic": {
|
||||
"faceCount": 2,
|
||||
"faces": [
|
||||
{
|
||||
"customProperties": {},
|
||||
"indices": [
|
||||
0,
|
||||
1,
|
||||
2
|
||||
]
|
||||
},
|
||||
{
|
||||
"customProperties": {},
|
||||
"indices": [
|
||||
0,
|
||||
2,
|
||||
3
|
||||
]
|
||||
}
|
||||
],
|
||||
"format": "binary_little_endian",
|
||||
"vertexCount": 4,
|
||||
"vertices": [
|
||||
{
|
||||
"color": [
|
||||
254,
|
||||
0,
|
||||
0,
|
||||
255
|
||||
],
|
||||
"customProperties": {
|
||||
"label": 1.0,
|
||||
"temperature": 10.0
|
||||
},
|
||||
"normal": [
|
||||
0.0,
|
||||
1.0,
|
||||
0.0
|
||||
],
|
||||
"position": [
|
||||
-1.0,
|
||||
0.0,
|
||||
1.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"color": [
|
||||
0,
|
||||
254,
|
||||
0,
|
||||
255
|
||||
],
|
||||
"customProperties": {
|
||||
"label": 2.0,
|
||||
"temperature": 20.0
|
||||
},
|
||||
"normal": [
|
||||
0.0,
|
||||
1.0,
|
||||
0.0
|
||||
],
|
||||
"position": [
|
||||
1.0,
|
||||
0.0,
|
||||
1.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"color": [
|
||||
0,
|
||||
0,
|
||||
254,
|
||||
255
|
||||
],
|
||||
"customProperties": {
|
||||
"label": 3.0,
|
||||
"temperature": 30.0
|
||||
},
|
||||
"normal": [
|
||||
0.0,
|
||||
1.0,
|
||||
0.0
|
||||
],
|
||||
"position": [
|
||||
1.0,
|
||||
0.0,
|
||||
-1.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"color": [
|
||||
254,
|
||||
254,
|
||||
0,
|
||||
255
|
||||
],
|
||||
"customProperties": {
|
||||
"label": 4.0,
|
||||
"temperature": 40.0
|
||||
},
|
||||
"normal": [
|
||||
0.0,
|
||||
1.0,
|
||||
0.0
|
||||
],
|
||||
"position": [
|
||||
-1.0,
|
||||
0.0,
|
||||
-1.0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
179
tests/golden/M12-07H/web-roundtrip-report.json
Normal file
179
tests/golden/M12-07H/web-roundtrip-report.json
Normal file
@@ -0,0 +1,179 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M12-07H",
|
||||
"operation": "PLY_VERTEX_FACE_COLOR_CUSTOM_MAPPING",
|
||||
"source": {
|
||||
"asciiSha256": "acaa369c17252d4d089a2e3064d0c1fcdfdb2d066759ed160adf7869d3e859d5",
|
||||
"binarySha256": "d0fc195fd1a101c42ac984a2382bccdddb7d0bf60dd618e9f637c964f1b30b9e",
|
||||
"unknownSha256": "a994c7126f235d0067ce4af35f8b0c6699cc83073e2a37e982edd45ece459f33"
|
||||
},
|
||||
"browser": {
|
||||
"format": "ascii",
|
||||
"vertexCount": 4,
|
||||
"faceCount": 2,
|
||||
"colors": [
|
||||
[
|
||||
0.996078431372549,
|
||||
0,
|
||||
0,
|
||||
1
|
||||
],
|
||||
[
|
||||
0,
|
||||
0.996078431372549,
|
||||
0,
|
||||
1
|
||||
],
|
||||
[
|
||||
0,
|
||||
0,
|
||||
0.996078431372549,
|
||||
1
|
||||
],
|
||||
[
|
||||
0.996078431372549,
|
||||
0.996078431372549,
|
||||
0,
|
||||
1
|
||||
]
|
||||
],
|
||||
"customProperties": [
|
||||
{
|
||||
"temperature": 10,
|
||||
"label": 1
|
||||
},
|
||||
{
|
||||
"temperature": 20,
|
||||
"label": 2
|
||||
},
|
||||
{
|
||||
"temperature": 30,
|
||||
"label": 3
|
||||
},
|
||||
{
|
||||
"temperature": 40,
|
||||
"label": 4
|
||||
}
|
||||
],
|
||||
"outputSha256": "399a06c8f593dcdeda9ce9f4c6be74fa83b9fc905ae22a01f4af414284585cf5",
|
||||
"outputBytes": 509,
|
||||
"lossReport": {
|
||||
"schemaVersion": 1,
|
||||
"operation": "PLY_IMPORT_LOSS_REPORT",
|
||||
"canImport": true,
|
||||
"warningCount": 0,
|
||||
"warnings": []
|
||||
},
|
||||
"binarySemanticEqual": true,
|
||||
"unknownPropertyLoss": {
|
||||
"schemaVersion": 1,
|
||||
"operation": "PLY_IMPORT_LOSS_REPORT",
|
||||
"canImport": true,
|
||||
"warningCount": 1,
|
||||
"warnings": [
|
||||
{
|
||||
"code": "PLY_UNKNOWN_PROPERTY",
|
||||
"severity": "warning",
|
||||
"element": "vertex",
|
||||
"property": "unknown_values",
|
||||
"message": "vertex list property unknown_values is not mapped"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"desktop": {
|
||||
"attributes": [
|
||||
{
|
||||
"dataType": "FLOAT_COLOR",
|
||||
"domain": "POINT",
|
||||
"name": "Col",
|
||||
"values": [
|
||||
[
|
||||
0.9911020398139954,
|
||||
0,
|
||||
0,
|
||||
1
|
||||
],
|
||||
[
|
||||
0,
|
||||
0.9911020398139954,
|
||||
0,
|
||||
1
|
||||
],
|
||||
[
|
||||
0,
|
||||
0,
|
||||
0.9911020398139954,
|
||||
1
|
||||
],
|
||||
[
|
||||
0.9911020398139954,
|
||||
0.9911020398139954,
|
||||
0,
|
||||
1
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"dataType": "FLOAT",
|
||||
"domain": "POINT",
|
||||
"name": "label",
|
||||
"values": [
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4
|
||||
]
|
||||
},
|
||||
{
|
||||
"dataType": "FLOAT",
|
||||
"domain": "POINT",
|
||||
"name": "temperature",
|
||||
"values": [
|
||||
10,
|
||||
20,
|
||||
30,
|
||||
40
|
||||
]
|
||||
}
|
||||
],
|
||||
"objectCount": 1,
|
||||
"operation": "DESKTOP_IMPORT_WEB_PLY",
|
||||
"polygonCount": 2,
|
||||
"positions": [
|
||||
[
|
||||
-1,
|
||||
0,
|
||||
1
|
||||
],
|
||||
[
|
||||
1,
|
||||
0,
|
||||
1
|
||||
],
|
||||
[
|
||||
1,
|
||||
0,
|
||||
-1
|
||||
],
|
||||
[
|
||||
-1,
|
||||
0,
|
||||
-1
|
||||
]
|
||||
],
|
||||
"schemaVersion": 1,
|
||||
"sourceBytes": 509,
|
||||
"sourceSha256": "399a06c8f593dcdeda9ce9f4c6be74fa83b9fc905ae22a01f4af414284585cf5",
|
||||
"triangleCount": 2,
|
||||
"vertexCount": 4
|
||||
},
|
||||
"comparisons": {
|
||||
"vertexCountExact": true,
|
||||
"faceCountExact": true,
|
||||
"positionExact": true,
|
||||
"customPropertiesPresent": true,
|
||||
"colorMapped": true
|
||||
},
|
||||
"nextTask": "M12-07I"
|
||||
}
|
||||
Reference in New Issue
Block a user