Repository navigation
test: split the conflict-prone count pins and generator tables (#2615) - #2644
Conversation
|
GOOD TO GO at |
|
Coverage: 94.08% -- tests failure, so this is partial (unit tier, Python 3.15,
Per-file detail: the |
|
Resolve conflicts |
|
The owner asked for the conflicts to be resolved. A rebase onto |
- const: the four sweeps compare against tests/const/census, one module per pcapkit.const package, instead of pinned counts - vendor: the constant-miss sweep compares against a sorted crawler list - dispatch, options: each family moves to dispatch_families/ or option_families/; the census tests derive from them and the tree's maps - rfc constants: NOT_A_COPY and UNRELATED are sorted by module, and pinned so - excusals in enum_get and registry_protocol assert their reason, so the derived totals keep the pins' strength - test-coverage.rst: the suites' sources and the adding table follow - references to TCP_BASE, HIP_BASE and other moved names follow them
e55035a to
7fbdffd
Compare
|
Conflicts resolved, rebased onto
The verdict stays good to go. |
…s into 1.6.0 (#2449) - Folded into the TLS/DTLS entry: DTLSContext resolves a unified-header record's connection ID as a tls12_cid one's, an ID NewConnectionId issues coming only from the caller; every unified-header record's info carries cid, None when C is clear, the one-data-model ruling on #2625; make() takes cid (#2643). The entry drops the stale "stays Raw" for those records. - 1.5.0's httpv1.HTTP and httpv2.HTTP roles point at HTTPv1 and HTTPv2, renamed by #2544, so the nitpicky build no longer warns on them; 1.5.0's text unchanged. - No entry for the test-only #2644. - CHANGELOG.md regenerated; util/changelog_md.py --check passes.
make pylint,make mypy,make isort)make testpasses, and a test case covers the changeWhat is the purpose of your pull request?
test— tests onlyDescription of your pull request and other information
The test files that every new module or registry had to edit now derive their counts instead of pinning them. This is the restructuring #2615 allows.
tests/const/census, one module perpcapkit.constpackage.dispatch_families/oroption_families/. The census tests derive from them and from the tree's maps.CONVERTEDandEXCLUDEDlists in the enum-get and registry-protocol tests assert their own reasons, so the derived totals are as strict as the pins were.Case sets are identical to
main. Frames in the gitignoredoptions-transport.pcapandoptions-internet.pcapnow come out in file-name order. Nothing reads frame order there.A Sonnet cross-review returned GOOD TO GO and its one gap (an unchecked
CONVERTEDentry) is closed. Every const and vendor mutation fails.Closes #2615