Skip to content

Commit 2d3f72f

Browse files
authored
test(quic): add unit tests for 5 remaining QUIC protocol modules (#978)
* test(quic): add unit tests for 5 remaining QUIC protocol modules Add comprehensive unit tests for session_ticket_store, pmtud_controller, crypto, connection, and quic_socket covering construction, state management, and protocol-specific behavior. * fix(cmake): rename duplicate QUIC test targets to avoid CMake conflict Existing targets network_quic_crypto_test and network_quic_connection_test already registered at lines 1657 and 1758. Renamed new targets to network_quic_crypto_module_test and network_quic_connection_module_test.
1 parent edf676d commit 2d3f72f

6 files changed

Lines changed: 2062 additions & 0 deletions

tests/CMakeLists.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4642,6 +4642,17 @@ message(STATUS "HTTP/2 server stream unit tests enabled (Issue #968)")
46424642
add_network_test(network_websocket_socket_test unit/websocket_socket_test.cpp)
46434643
message(STATUS "WebSocket socket unit tests enabled (Issue #968)")
46444644

4645+
##################################################
4646+
# QUIC Protocol Module Unit Tests (Issue #974)
4647+
##################################################
4648+
4649+
add_network_test(network_session_ticket_store_test unit/session_ticket_store_test.cpp)
4650+
add_network_test(network_quic_pmtud_controller_test unit/quic_pmtud_controller_test.cpp)
4651+
add_network_test(network_quic_crypto_module_test unit/quic_crypto_test.cpp)
4652+
add_network_test(network_quic_connection_module_test unit/quic_connection_test.cpp)
4653+
add_network_test(network_quic_socket_construction_test unit/quic_socket_construction_test.cpp)
4654+
message(STATUS "QUIC protocol module unit tests enabled (Issue #974)")
4655+
46454656
##################################################
46464657
# Integration Tests
46474658
##################################################

0 commit comments

Comments
 (0)