HLE: expand synthetic unit test coverage for xstore.rs (1 -> 13 tests) #945
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory#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?
@geiyiliyabumo on GitHub · 2026-11-24 14:25 UTC · original
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.
@Marvisak on GitHub · 2026-11-25 07:00 UTC · original · edited 2026-11-25 09:56 UTC
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
@StExpeditus on GitHub · 2026-11-25 09:09 UTC · original
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.