rrt/fixtures/runtime/packed-event-named-locomotive-availability-save-slice-fixture.json

60 lines
1.8 KiB
JSON

{
"format_version": 1,
"fixture_id": "packed-event-named-locomotive-availability-save-slice-fixture",
"source": {
"kind": "captured-runtime",
"description": "Fixture backed by a tracked save-slice document that imports the named locomotive availability table and mutates it through an imported packed-event record."
},
"state_save_slice_path": "packed-event-named-locomotive-availability-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": 1,
"packed_event_decoded_record_count": 1,
"packed_event_imported_runtime_record_count": 1,
"event_runtime_record_count": 1,
"named_locomotive_availability_count": 3,
"zero_named_locomotive_availability_count": 2,
"total_event_record_service_count": 1,
"total_trigger_dispatch_count": 1,
"dirty_rerun_count": 0
},
"expected_state_fragment": {
"world_flags": {
"save_slice.named_locomotive_availability_present": true
},
"metadata": {
"save_slice.named_locomotive_availability_source_kind": "runtime-save-direct-serializer",
"save_slice.named_locomotive_availability_entry_count": "2",
"save_slice.named_locomotive_availability_zero_count": "1"
},
"named_locomotive_availability": {
"Big Boy": 0,
"GP7": 0,
"Mikado": 1
},
"packed_event_collection": {
"live_entry_ids": [
17
],
"records": [
{
"decode_status": "executable",
"import_outcome": "imported"
}
]
},
"event_runtime_records": [
{
"record_id": 17,
"service_count": 1
}
]
}
}