![]() |
Bitcoin Core 31.1.0
P2P Digital Currency
|
#include <common/pcp.h>#include <netbase.h>#include <test/util/logging.h>#include <test/util/common.h>#include <test/util/setup_common.h>#include <util/time.h>#include <boost/test/unit_test.hpp>#include <algorithm>#include <deque>Go to the source code of this file.
Classes | |
| struct | TestOp |
| UDP test server operation. More... | |
| class | PCPTestingSetup |
| Save the value of CreateSock and restore when the test ends. More... | |
| class | PCPTestSock |
| Simple scripted UDP server emulation for testing. More... | |
Functions | |
| BOOST_AUTO_TEST_CASE (natpmp_ipv4) | |
| BOOST_AUTO_TEST_CASE (pcp_ipv4) | |
| BOOST_AUTO_TEST_CASE (pcp_ipv6) | |
| BOOST_AUTO_TEST_CASE (pcp_timeout) | |
| BOOST_AUTO_TEST_CASE (pcp_connrefused) | |
| BOOST_AUTO_TEST_CASE (pcp_ipv6_timeout_success) | |
| BOOST_AUTO_TEST_CASE (pcp_ipv4_fail_no_resources) | |
| BOOST_AUTO_TEST_CASE (pcp_ipv4_fail_unsupported_version) | |
| BOOST_AUTO_TEST_CASE (natpmp_protocol_error) | |
| BOOST_AUTO_TEST_CASE (pcp_protocol_error) | |
Variables | |
| static CThreadInterrupt | g_interrupt |
| BOOST_AUTO_TEST_CASE | ( | natpmp_ipv4 | ) |
| BOOST_AUTO_TEST_CASE | ( | natpmp_protocol_error | ) |
| BOOST_AUTO_TEST_CASE | ( | pcp_connrefused | ) |
| BOOST_AUTO_TEST_CASE | ( | pcp_ipv4 | ) |
| BOOST_AUTO_TEST_CASE | ( | pcp_ipv4_fail_no_resources | ) |
| BOOST_AUTO_TEST_CASE | ( | pcp_ipv4_fail_unsupported_version | ) |
| BOOST_AUTO_TEST_CASE | ( | pcp_ipv6 | ) |
| BOOST_AUTO_TEST_CASE | ( | pcp_ipv6_timeout_success | ) |
| BOOST_AUTO_TEST_CASE | ( | pcp_protocol_error | ) |
| BOOST_AUTO_TEST_CASE | ( | pcp_timeout | ) |
|
static |
Definition at line 19 of file pcp_tests.cpp.