(mut test: impl FnMut(&dyn AgentHook, HookType))
| 37 | } |
| 38 | |
| 39 | fn for_each_hook(mut test: impl FnMut(&dyn AgentHook, HookType)) { |
| 40 | let registry = AgentRegistry::with_defaults(); |
| 41 | for name in registry.list() { |
| 42 | let agent = registry.require(name).unwrap(); |
| 43 | for hook_type in agent.supported_hooks() { |
| 44 | test(agent, hook_type); |
| 45 | } |
| 46 | } |
| 47 | } |
| 48 | |
| 49 | #[test] |
| 50 | fn every_adapter_preserves_source_time_in_events_and_journal_envelopes() { |
no test coverage detected