What
Add dedicated unit tests for 5 remaining untested QUIC protocol modules. Part of #953 .
Scope
Module
Source Path
Coverage
crypto
src/protocols/quic/crypto.cpp
None
connection
src/protocols/quic/connection.cpp
None
pmtud_controller
src/protocols/quic/pmtud_controller.cpp
None
quic_socket
src/internal/quic_socket.cpp
None
session_ticket_store
src/protocols/quic/session_ticket_store.cpp
None
Why
QUIC crypto and connection are foundational protocol components — untested code risks silent TLS/handshake failures
PMTUD (Path MTU Discovery) controller affects packet sizing on all QUIC connections
Part of epic Expand unit test coverage from 40% to 80% #953 to raise coverage from ~48% to 80%
Where
Source: src/protocols/quic/, src/internal/
Tests: tests/unit/ (new test files)
CMake: tests/CMakeLists.txt (register new tests)
How
Technical Approach
Create unit test files following existing project patterns (see quic_*_test.cpp files)
crypto: test key derivation, AEAD encryption/decryption, key update
connection: test state machine transitions, handshake flow, packet processing
pmtud_controller: test MTU probing, path validation, size selection
quic_socket: test socket creation, binding, send/receive
Acceptance Criteria
What
Add dedicated unit tests for 5 remaining untested QUIC protocol modules. Part of #953.
Scope
cryptosrc/protocols/quic/crypto.cppconnectionsrc/protocols/quic/connection.cpppmtud_controllersrc/protocols/quic/pmtud_controller.cppquic_socketsrc/internal/quic_socket.cppsession_ticket_storesrc/protocols/quic/session_ticket_store.cppWhy
Where
src/protocols/quic/,src/internal/tests/unit/(new test files)tests/CMakeLists.txt(register new tests)How
Technical Approach
quic_*_test.cppfiles)Acceptance Criteria
GTEST_SKIP()markers