HLE: expand synthetic unit test coverage for xstore.rs (1 -> 13 tests) #945
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from Marvisak/VIctory. Originally posted by geiyiliyabumo on 2026-11-24T14:25:26Z.
Summary
Audits
crates/victory-hle/src/modules/xstore.rsand expands deterministic synthetic unit tests from 1 to 13 passing tests (extracting a pureinstalled_package()helper so the store-ID mapping can be tested without racing globalruntime::Title).Because external PR creation is currently restricted (
collaborators_only), the CI-green branch is ready on my fork for cherry-pick / review:geiyiliyabumo/VIctory@feat/xstore-audit-and-testsgeiyiliyabumo/VIctory@d51dc42(based onmainffe310e)Changes (
crates/victory-hle/src/modules/xstore.rs)installed_package()for testing store-ID -> package mapping in isolation.Verification (Windows 11 x64 MSVC)
rustfmt --edition 2024 --check crates/victory-hle/src/modules/xstore.rs: PASScargo xtask policy: PASS (154 files ok)cargo clippy -p victory-hle --all-targets --locked -- -D warnings(default +--features diagnostics): PASS (0 warnings)cargo test -p victory-hle --locked -- xstore: 13 passed, 0 failed (victory-hle106 + 1passed)AI-assisted; synthetic tests only, no game files.
Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T07:00:03Z.
Automated triage for the maintainers.
These are test-coverage additions for
crates/victory-hle/src/modules/xstore.rs(with one behaviour-preserving extraction), not a defect report. The branch is open as PR #1194, which is where review happens; whether to take it is for the maintainers.Generated by Claude Code
Imported from Marvisak/VIctory. Originally posted by StExpeditus on 2026-11-25T09:09:33Z.
Validated the fork branch on Windows 11 Pro 26200 (Intel Core i5-14600K, Rust 1.98.1 MSVC), commit
2e53863:cargo test -p victory-hle --locked --no-fail-fast-> 149 passed, 0 failed, 0 ignored. Synthetic tests only, no game files.