![]() |
Bitcoin Core 31.0.0
P2P Digital Currency
|
#include <common/system.h>#include <compat/compat.h>#include <test/util/common.h>#include <test/util/setup_common.h>#include <util/sock.h>#include <util/threadinterrupt.h>#include <boost/test/unit_test.hpp>#include <cassert>#include <thread>Go to the source code of this file.
Functions | |
| static bool | SocketIsClosed (const SOCKET &s) |
| static SOCKET | CreateSocket () |
| BOOST_AUTO_TEST_CASE (constructor_and_destructor) | |
| BOOST_AUTO_TEST_CASE (move_constructor) | |
| BOOST_AUTO_TEST_CASE (move_assignment) | |
| static void | CreateSocketPair (int s[2]) |
| static void | SendAndRecvMessage (const Sock &sender, const Sock &receiver) |
| BOOST_AUTO_TEST_CASE (send_and_receive) | |
| BOOST_AUTO_TEST_CASE (wait) | |
| BOOST_AUTO_TEST_CASE (recv_until_terminator_limit) | |
| BOOST_AUTO_TEST_CASE | ( | constructor_and_destructor | ) |
| BOOST_AUTO_TEST_CASE | ( | move_assignment | ) |
| BOOST_AUTO_TEST_CASE | ( | move_constructor | ) |
| BOOST_AUTO_TEST_CASE | ( | recv_until_terminator_limit | ) |
| BOOST_AUTO_TEST_CASE | ( | send_and_receive | ) |
| BOOST_AUTO_TEST_CASE | ( | wait | ) |
Definition at line 31 of file sock_tests.cpp.
Definition at line 87 of file sock_tests.cpp.
Definition at line 92 of file sock_tests.cpp.
Definition at line 21 of file sock_tests.cpp.