Add save-slice-backed runtime fixtures
This commit is contained in:
parent
09b6514dbf
commit
8ca65cbbfb
12 changed files with 974 additions and 47 deletions
|
|
@ -0,0 +1,65 @@
|
|||
{
|
||||
"format_version": 1,
|
||||
"fixture_id": "packed-event-selective-import-save-slice-fixture",
|
||||
"source": {
|
||||
"kind": "captured-runtime",
|
||||
"description": "Fixture backed by a tracked save-slice document with one imported packed-event record and one parity-only record."
|
||||
},
|
||||
"state_save_slice_path": "packed-event-selective-import-save-slice.json",
|
||||
"commands": [
|
||||
{
|
||||
"kind": "service_trigger_kind",
|
||||
"trigger_kind": 7
|
||||
}
|
||||
],
|
||||
"expected_summary": {
|
||||
"calendar_projection_is_placeholder": true,
|
||||
"packed_event_collection_present": true,
|
||||
"packed_event_record_count": 2,
|
||||
"packed_event_decoded_record_count": 2,
|
||||
"packed_event_imported_runtime_record_count": 1,
|
||||
"packed_event_parity_only_record_count": 1,
|
||||
"packed_event_unsupported_record_count": 0,
|
||||
"event_runtime_record_count": 2,
|
||||
"special_condition_count": 1,
|
||||
"enabled_special_condition_count": 1,
|
||||
"total_event_record_service_count": 2,
|
||||
"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": {
|
||||
"live_entry_ids": [7, 9],
|
||||
"records": [
|
||||
{
|
||||
"decode_status": "executable",
|
||||
"executable_import_ready": true
|
||||
},
|
||||
{
|
||||
"decode_status": "parity_only",
|
||||
"executable_import_ready": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"event_runtime_records": [
|
||||
{
|
||||
"record_id": 7,
|
||||
"service_count": 1
|
||||
},
|
||||
{
|
||||
"record_id": 99,
|
||||
"service_count": 1
|
||||
}
|
||||
],
|
||||
"service_state": {
|
||||
"dirty_rerun_count": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue