summaryrefslogtreecommitdiffstats
path: root/testcorpus/dep-client/manifest.json
diff options
context:
space:
mode:
authoraur-build <aur-build@localhost>2026-11-20 21:20:05 +0000
committeraur-build <aur-build@localhost>2026-11-20 21:20:05 +0000
commitb3c326735e4c212afed8c6a25411a1040a67f760 (patch)
treeef2ec3a359e8a17cd0d2447d74ca8ea7f15a5bce /testcorpus/dep-client/manifest.json
parent72dcae2a04644609a30a90200edca368d131d600 (diff)
downloadaur-build-b3c326735e4c212afed8c6a25411a1040a67f760.tar.gz
aur-build-b3c326735e4c212afed8c6a25411a1040a67f760.zip
review, shims, time: gate the last three test-only entry points
`review::diff::render_and_store` is the alarming row in the table: zero callers in `src/`, seventeen test files. Intake renders through `review::intake::record` — the single entry point the pipeline and both front ends use — and this is the older uncomposed form. It is gated, not relocated to `tests/common`, because it needs this module's private `panels`/`render_text` and `candidates::set_diff_digest`; widening those to let a test out would undo the narrowing the last dozen commits did. `shims::called_with` is gated: the shim *writes* its invocation log in production, which is how a fake tool leaves evidence, but nothing in the crate reads it back. Only tests ask what a build actually did. `time::pin` and `time::unpin` are gated together. Gating half of a two-function capability would leave a release binary able to freeze the clock and unable to release it. `pin` is worth naming because the census never reported it as test-only at all: its name match also fires inside `upstream_pins`, so a genuinely test-only function hid in plain sight until its counterpart was examined. The only callers in the crate are tests, and the unit test that uses them is gated with them. Nothing was relocated to `tests/common`. The table chose no `relocate` disposition — every item either needed module-private internals or moved into its own module instead — and no API was widened to accommodate a test, which was the condition on relocating anything. Test-only items across the crate: 61 at the start of this work, 46 now, of which 33 are residue and 13 already gated. `gate_pending` is zero. Suite: 284 passed, 0 failed, 0 ignored. Clippy clean.
Diffstat (limited to 'testcorpus/dep-client/manifest.json')
0 files changed, 0 insertions, 0 deletions