yams/tests/unit/common
Trevon 837bc641b3
test(infra): give every Catch2 process a private XDG_STATE_HOME (#296)
SessionService reads the current session from XDG_STATE_HOME. On a build
host whose user had an auto-created session ("auto: /data") with watch
enabled, every test that booted a ServiceManager inherited it, the session
watcher walked /data during init, and six daemon tests timed out. With the
state dir isolated the same six pass.

The shared test main now points XDG_STATE_HOME at a per-process temp dir
when the caller did not set one, and removes it at exit. A small test checks
the process sees no host session.

Signed-off-by: trvon <me@trevon.dev>
2026-10-14 08:32:56 -06:00
..
crc32_catch2_test.cpp perf(storage): slice-by-8 CRC32 on all crc paths, 13.7x faster 2026-08-01 00:12:32 -04:00
format_catch2_test.cpp test improvements and bug fixes in parser, scaling logic, and mcp tools 2026-02-04 14:42:28 -05:00
hash_predicates_catch2_test.cpp [11/14] Separate status presentation and centralize shared query helpers (#151) 2026-09-12 10:09:21 -04:00
log_rate_limiter_catch2_test.cpp fix(daemon): rate-limit repeating warnings that flood the daemon log 2026-09-27 14:00:25 -06:00
path_alias_catch2_test.cpp [11/14] Separate status presentation and centralize shared query helpers (#151) 2026-09-12 10:09:21 -04:00
pattern_utils_catch2_test.cpp fix(search): correct code navigation 2026-07-28 22:33:31 -04:00
string_utils_catch2_test.cpp refactor: deduplicate trim/escapeRegex/hasWildcard helpers 2026-08-01 00:12:31 -04:00
test_rusage_catch2_test.cpp feat(profiling): Tracy for every library, zones on p2p and memory-sync, per-test CPU/RSS (#294) 2026-10-14 08:32:56 -06:00
test_state_isolation_catch2_test.cpp test(infra): give every Catch2 process a private XDG_STATE_HOME (#296) 2026-10-14 08:32:56 -06:00
test_utils_catch2_test.cpp test: isolate process environment 2026-08-04 21:31:39 -04:00
time_utils_catch2_test.cpp Remediate Fold SAST findings 2026-05-27 22:41:44 -04:00
utf8_utils_catch2_test.cpp fix(common): make the lenient UTF-8 sanitizers emit well-formed UTF-8 2026-09-23 17:56:52 -06:00