82 lines
1.8 KiB
JSON
82 lines
1.8 KiB
JSON
{
|
|
"format_version": 1,
|
|
"fixture_id": "event-follow-on-dirty-rerun-smoke",
|
|
"source": {
|
|
"kind": "synthetic",
|
|
"description": "Synthetic normalized event-service fixture covering staged follow-on record append and dirty rerun dispatch."
|
|
},
|
|
"state": {
|
|
"calendar": {
|
|
"year": 1830,
|
|
"month_slot": 0,
|
|
"phase_slot": 0,
|
|
"tick_slot": 0
|
|
},
|
|
"world_flags": {
|
|
"sandbox": false
|
|
},
|
|
"companies": [],
|
|
"event_runtime_records": [
|
|
{
|
|
"record_id": 100,
|
|
"trigger_kind": 1,
|
|
"active": true,
|
|
"marks_collection_dirty": true,
|
|
"effects": [
|
|
{
|
|
"kind": "append_event_record",
|
|
"record": {
|
|
"record_id": 101,
|
|
"trigger_kind": 10,
|
|
"active": true,
|
|
"effects": [
|
|
{
|
|
"kind": "set_world_flag",
|
|
"key": "dirty_rerun_follow_on",
|
|
"value": true
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"commands": [
|
|
{
|
|
"kind": "service_trigger_kind",
|
|
"trigger_kind": 1
|
|
}
|
|
],
|
|
"expected_summary": {
|
|
"calendar": {
|
|
"year": 1830,
|
|
"month_slot": 0,
|
|
"phase_slot": 0,
|
|
"tick_slot": 0
|
|
},
|
|
"world_flag_count": 2,
|
|
"company_count": 0,
|
|
"event_runtime_record_count": 2,
|
|
"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": {
|
|
"dirty_rerun_follow_on": true
|
|
},
|
|
"event_runtime_records": [
|
|
{
|
|
"record_id": 100,
|
|
"service_count": 1
|
|
},
|
|
{
|
|
"record_id": 101,
|
|
"service_count": 1
|
|
}
|
|
]
|
|
}
|
|
}
|