76 lines
2.1 KiB
JSON
76 lines
2.1 KiB
JSON
{
|
|
"schema": "freecad-web-p6-import-action-contract/v1",
|
|
"taskId": "FW-P6-IMP-ACT-01",
|
|
"module": "Import",
|
|
"action": "create/recompute",
|
|
"result": "pass_contract",
|
|
"source": {
|
|
"entry": "src/Mod/Import/App/ImportOCAF2.cpp",
|
|
"sha256": "e821f3130afb27d39d170e7769d3bdc726b164d8633149e7be5c1dc1c827e616",
|
|
"anchors": [
|
|
{
|
|
"line": 281,
|
|
"symbol": "ImportOCAF2::createObject",
|
|
"role": "create document objects from native shapes"
|
|
},
|
|
{
|
|
"line": 506,
|
|
"symbol": "ImportOCAF2::loadShapes",
|
|
"role": "create the observable object graph"
|
|
},
|
|
{
|
|
"line": 563,
|
|
"symbol": "DocumentObject::recomputeFeature",
|
|
"role": "recompute the returned root object"
|
|
}
|
|
]
|
|
},
|
|
"fixture": {
|
|
"schema": "freecad-web-import/create-recompute/v1",
|
|
"module": "Import",
|
|
"action": "create/recompute",
|
|
"documentName": "ImportCreateDocument",
|
|
"fixturePath": "/fixtures/freecad-sample.step",
|
|
"fixtureSha256": "80c8ace7c72ed12d02ab45f8471528c192990781dbb6e4afe975058c6197ca45"
|
|
},
|
|
"inputSha256": "39f09b16c0fe063bcf638134b2bd7c7d5e7fce311d9d4818e519a44da207d6ed",
|
|
"request": {
|
|
"envelopeSchema": "freecad-web-facade/v1",
|
|
"command": "import.createRecompute",
|
|
"requestIdPattern": "import-create-*"
|
|
},
|
|
"expectedResult": {
|
|
"documentName": "ImportCreateDocument",
|
|
"rootObjectType": "Part::Feature",
|
|
"objectCount": 32,
|
|
"partCount": 5,
|
|
"solidCount": 5,
|
|
"volume": 104939.95608486432,
|
|
"recomputeHasError": 0,
|
|
"activeAfterClose": 0
|
|
},
|
|
"expectedError": {
|
|
"code": "invalid_fixture",
|
|
"field": "fixtureSha256",
|
|
"statePreserved": true
|
|
},
|
|
"chrome": {
|
|
"browser": "Google Chrome only",
|
|
"viewport": {
|
|
"width": 1440,
|
|
"height": 900,
|
|
"deviceScaleFactor": 1
|
|
},
|
|
"externalRequests": 0
|
|
},
|
|
"persistence": "resource-replay-boundary-unless-create-action-adds-an-FCStd-artifact",
|
|
"subchain": [
|
|
"FW-P6-IMP-ACT-01-C",
|
|
"FW-P6-IMP-ACT-01-D",
|
|
"FW-P6-IMP-ACT-01-E",
|
|
"FW-P6-IMP-ACT-01-F",
|
|
"FW-P6-IMP-ACT-01-G"
|
|
],
|
|
"status": "pending_until_subchain_complete"
|
|
}
|