diff options
| author | Craig Jennings <c@cjennings.net> | 2025-11-11 18:59:36 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2025-11-11 18:59:36 -0600 |
| commit | c51228b021e773ebdee03a84c16599d3cbe92bfc (patch) | |
| tree | da866175b571f17ca0edee04012ff4e74838fc57 /assets/info/newsticker.info.gz | |
| parent | b0cfac99c5715740e152c9519fbe2912a91971a3 (diff) | |
test: Add comprehensive tests for org-agenda cacheperformance
Add 9 ERT tests covering org-agenda file list caching:
Normal cases:
- First call builds cache from scratch
- Second call uses cached files (validates cache hit)
- Force rebuild bypasses valid cache
Boundary cases:
- Cache expires after TTL and triggers rebuild
- Empty directories create minimal base file list
- Building flag set during build and cleared after
- Building flag clears on error (unwind-protect)
Error cases:
- Nil cache with timestamp triggers rebuild
- Directory scan failures propagate correctly
All tests pass (9/9). No regressions in full suite.
Total: 1,823 tests, 17 pre-existing failures (down from 18).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'assets/info/newsticker.info.gz')
0 files changed, 0 insertions, 0 deletions
