Skip to content

Commit

Permalink
test: Add tests for PCP and NATPMP implementations
Browse files Browse the repository at this point in the history
Add a mock for a simple scriptable UDP server, and use this to test
various code paths (including successful mappings, timeouts and errors)
in the PCP and NATPMP implementations.
  • Loading branch information
laanwj committed Oct 2, 2024
1 parent 3d77157 commit 7527e88
Show file tree
Hide file tree
Showing 2 changed files with 603 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ add_executable(test_bitcoin
netbase_tests.cpp
node_warnings_tests.cpp
orphanage_tests.cpp
pcp_tests.cpp
peerman_tests.cpp
pmt_tests.cpp
policy_fee_tests.cpp
Expand Down
Loading

0 comments on commit 7527e88

Please sign in to comment.