#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.
◆ BOOST_AUTO_TEST_CASE() [1/6]
| BOOST_AUTO_TEST_CASE |
( |
constructor_and_destructor | | ) |
|
◆ BOOST_AUTO_TEST_CASE() [2/6]
| BOOST_AUTO_TEST_CASE |
( |
move_assignment | | ) |
|
◆ BOOST_AUTO_TEST_CASE() [3/6]
| BOOST_AUTO_TEST_CASE |
( |
move_constructor | | ) |
|
◆ BOOST_AUTO_TEST_CASE() [4/6]
| BOOST_AUTO_TEST_CASE |
( |
recv_until_terminator_limit | | ) |
|
◆ BOOST_AUTO_TEST_CASE() [5/6]
| BOOST_AUTO_TEST_CASE |
( |
send_and_receive | | ) |
|
◆ BOOST_AUTO_TEST_CASE() [6/6]
| BOOST_AUTO_TEST_CASE |
( |
wait | | ) |
|
◆ CreateSocket()
◆ CreateSocketPair()
| void CreateSocketPair |
( |
int | s[2] | ) |
|
|
static |
◆ SendAndRecvMessage()
| void SendAndRecvMessage |
( |
const Sock & | sender, |
|
|
const Sock & | receiver ) |
|
static |
◆ SocketIsClosed()
| bool SocketIsClosed |
( |
const SOCKET & | s | ) |
|
|
static |