- 28 new subtests in TestClassify covering all new protocol/port combinations
- TestAllClassesCount updated to assert 32 classes
- All PROTO-01 through PROTO-09 requirements satisfied
TestAllClassesCount updated to 32 (14 existing + 18 new; LDAP/Kerberos/Syslog excluded until Phase 11)
28 subtests added (plan said 26, final count is 28 including extra SIP transport variants)
duration
completed
tasks_completed
files_modified
2 min
2026-03-27
2
1
PROTO-01
PROTO-02
PROTO-03
PROTO-04
PROTO-05
PROTO-06
PROTO-07
PROTO-08
PROTO-09
Phase 10 Plan 2: Classification Layer — Test Coverage Summary
Added 28 new subtests to TestClassify covering all new port/protocol/transport combinations introduced in Plan 01, and updated TestAllClassesCount to assert 32 classes.
Tasks Completed
Task
Name
Commit
Files
1
Add 28 new classification subtests to TestClassify
Task 1 added 28 new subtests inside TestClassify, grouped by protocol family, after the existing TestClassifyUnknown subtest and before TestRulesAreOrderDependent:
Task 2 updated TestAllClassesCount assertion from != 14 to != 32. The 32 count is 14 existing + 18 new (ClassLDAP, ClassKerberos, ClassSyslog excluded from AllClasses() until Phase 11 adds their ClassFreqConfigs entries).
Verification Results
go test -count=1 ./classify/... -v — all 3 test functions pass (TestClassify with 41 subtests, TestAllClassesCount, TestHashBucketDistribution)
All 28 new subtests pass on first run (no iteration needed)
QUIC UDP/443 correctly classifies as ClassQUIC, not ClassHTTPS
SIP tested on both TCP and UDP transports
go test ./synth/... expected to fail (Phase 11 will wire ClassFreqConfigs for 18 new classes)
Deviations from Plan
None — plan executed exactly as written. Note: plan mentioned 26 new subtests but the task description listed 28 (the SSDP test name was TestClassifySDP_port1900 per the plan, and the SIP dual-transport tests account for the discrepancy). All 28 listed in the acceptance criteria were implemented.
Known Stubs
None.
Self-Check: PASSED
classify/classifier_test.go exists and contains TestClassifyIMAP_port143