Commit c1b4313
committed
test(cortex-plugins): add lifecycle tests and fix clippy warning
- Add comprehensive lifecycle tests covering plugin discover → load → init → hook → shutdown flow
- Add tests for PluginManager creation, discovery, loading, and lifecycle management
- Add tests for WasmRuntime and WasmPlugin
- Add tests for PluginConfig settings
- Add tests for HookRegistry and HookDispatcher
- Add tests for EventBus and event subscription
- Add tests for PluginCommand and command registry
- Fix clippy warning: replace vec![] with array for constant case list1 parent 29791b5 commit c1b4313
2 files changed
Lines changed: 1713 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| |||
0 commit comments