Commit 00e8450
committed
Add tests for new_event function
Added event_test.c with deterministic stubs that exercise new_event subject/object cache reuse, eviction, skip-path handling, and needs_flush transitions to validate resulting cache state and event fields.
Registered the new test in src/tests/Makefile.am, linking against the required static objects so it builds alongside existing test binaries.
Documented the event_test cache harness strategy and outlined how to extend the scenarios for future coverage.1 parent a03d7eb commit 00e8450
2 files changed
Lines changed: 545 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
43 | 54 | | |
44 | 55 | | |
45 | 56 | | |
| |||
0 commit comments