Skip to content

Commit fc700bb

Browse files
committed
test: Add tests for PCP and NATPMP implementations
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.
1 parent caf9521 commit fc700bb

File tree

2 files changed

+582
-0
lines changed

2 files changed

+582
-0
lines changed

src/test/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ add_executable(test_bitcoin
8787
netbase_tests.cpp
8888
node_warnings_tests.cpp
8989
orphanage_tests.cpp
90+
pcp_tests.cpp
9091
peerman_tests.cpp
9192
pmt_tests.cpp
9293
policy_fee_tests.cpp

0 commit comments

Comments
 (0)