67 lines
1.7 KiB
JSON
67 lines
1.7 KiB
JSON
|
|
{
|
||
|
|
"format_version": 1,
|
||
|
|
"fixture_id": "packed-event-record-import-from-snapshot",
|
||
|
|
"source": {
|
||
|
|
"kind": "captured-runtime",
|
||
|
|
"description": "Fixture backed by a runtime snapshot that carries one decoded packed-event record and its imported executable runtime record."
|
||
|
|
},
|
||
|
|
"state_snapshot_path": "packed-event-record-import-snapshot.json",
|
||
|
|
"commands": [
|
||
|
|
{
|
||
|
|
"kind": "service_trigger_kind",
|
||
|
|
"trigger_kind": 7
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"expected_summary": {
|
||
|
|
"calendar": {
|
||
|
|
"year": 1830,
|
||
|
|
"month_slot": 0,
|
||
|
|
"phase_slot": 0,
|
||
|
|
"tick_slot": 0
|
||
|
|
},
|
||
|
|
"world_flag_count": 1,
|
||
|
|
"company_count": 0,
|
||
|
|
"packed_event_collection_present": true,
|
||
|
|
"packed_event_record_count": 1,
|
||
|
|
"packed_event_decoded_record_count": 1,
|
||
|
|
"packed_event_imported_runtime_record_count": 1,
|
||
|
|
"event_runtime_record_count": 2,
|
||
|
|
"special_condition_count": 1,
|
||
|
|
"enabled_special_condition_count": 1,
|
||
|
|
"total_event_record_service_count": 2,
|
||
|
|
"periodic_boundary_call_count": 0,
|
||
|
|
"total_trigger_dispatch_count": 2,
|
||
|
|
"dirty_rerun_count": 1,
|
||
|
|
"total_company_cash": 0
|
||
|
|
},
|
||
|
|
"expected_state_fragment": {
|
||
|
|
"world_flags": {
|
||
|
|
"from_packed_root": true
|
||
|
|
},
|
||
|
|
"special_conditions": {
|
||
|
|
"Imported Follow-On": 1
|
||
|
|
},
|
||
|
|
"packed_event_collection": {
|
||
|
|
"records": [
|
||
|
|
{
|
||
|
|
"decode_status": "executable",
|
||
|
|
"executable_import_ready": true
|
||
|
|
}
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"event_runtime_records": [
|
||
|
|
{
|
||
|
|
"record_id": 7,
|
||
|
|
"service_count": 1
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"record_id": 99,
|
||
|
|
"trigger_kind": 10,
|
||
|
|
"service_count": 1
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"service_state": {
|
||
|
|
"dirty_rerun_count": 1
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|