What
Add unit tests for the facade (5) and adapter (17) layers. Currently 22 modules have zero coverage.
Part of #953
Why
Facade layer is the primary public API — defects cascade to all consumers
Adapters bridge protocol-specific behavior to the uniform facade interface
Coverage is a prerequisite for API freeze in v1.0 (Prepare network_system for v1.0 release #964 )
Where
Target modules
Facades (5) : http, quic, tcp, udp, websocket facades under sources/facades/
Adapters (17) :
http: client adapter, server adapter
quic: client adapter, server adapter
tcp: client adapter, server adapter
udp: client adapter, server adapter
websocket: client adapter, server adapter
(additional variants — enumerate via find sources -path '*adapter*' -name '*.cpp')
How
Technical Approach
Create tests/unit/facades/ and tests/unit/adapters/
Use gmock to stub the underlying transport
Verify the facade preserves contract: Result propagation, lifecycle, error translation
Test each adapter independently from its facade
Acceptance Criteria
What
Add unit tests for the facade (5) and adapter (17) layers. Currently 22 modules have zero coverage.
Part of #953
Why
Where
Target modules
Facades (5): http, quic, tcp, udp, websocket facades under
sources/facades/Adapters (17):
find sources -path '*adapter*' -name '*.cpp')How
Technical Approach
tests/unit/facades/andtests/unit/adapters/Acceptance Criteria