4 #include <boost/test/unit_test.hpp> 6 using namespace ::testing;
10 boost::asio::io_service io;
18 boost::asio::io_service io;
22 EXPECT_CALL(socket, set_option(An<boost::asio::socket_base::debug const&>()));
28 boost::asio::io_service io;
33 socket, set_option(An<boost::asio::socket_base::linger const&>()));
39 boost::asio::io_service io;
45 set_option(An<boost::asio::socket_base::receive_buffer_size const&>()));
51 boost::asio::io_service io;
57 set_option(An<boost::asio::socket_base::send_buffer_size const&>()));
63 boost::asio::io_service io;
69 set_option(An<boost::asio::socket_base::receive_low_watermark const&>()));
75 boost::asio::io_service io;
81 set_option(An<boost::asio::socket_base::send_low_watermark const&>()));
A Mock Object for the socket class.
BOOST_AUTO_TEST_CASE(itch5_make_socket_udp_common_basic)
void make_socket_udp_common(socket_t &s, udp_config_common const &cfg)
Configure a UDP socket.
Common configuration parameters for both UDP senders and receivers.