diff options
Diffstat (limited to '3rdparty/asio/src/tests/unit/generic')
6 files changed, 122 insertions, 71 deletions
diff --git a/3rdparty/asio/src/tests/unit/generic/.gitignore b/3rdparty/asio/src/tests/unit/generic/.gitignore deleted file mode 100644 index c0571443308..00000000000 --- a/3rdparty/asio/src/tests/unit/generic/.gitignore +++ /dev/null @@ -1,14 +0,0 @@ -.deps -.dirstamp -*.o -*.obj -*.exe -*.ilk -*.manifest -*.pdb -*.tds -basic_endpoint -datagram_protocol -raw_protocol -seq_packet_protocol -stream_protocol diff --git a/3rdparty/asio/src/tests/unit/generic/basic_endpoint.cpp b/3rdparty/asio/src/tests/unit/generic/basic_endpoint.cpp index ef6d2b1b82f..c02f32b8c73 100644 --- a/3rdparty/asio/src/tests/unit/generic/basic_endpoint.cpp +++ b/3rdparty/asio/src/tests/unit/generic/basic_endpoint.cpp @@ -2,7 +2,7 @@ // generic/basic_endpoint.cpp // ~~~~~~~~~~~~~~~~~~~~~~~~~~ // -// Copyright (c) 2003-2016 Christopher M. Kohlhoff (chris at kohlhoff dot com) +// Copyright (c) 2003-2024 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) diff --git a/3rdparty/asio/src/tests/unit/generic/datagram_protocol.cpp b/3rdparty/asio/src/tests/unit/generic/datagram_protocol.cpp index 32f636ba0c7..23957a7a15d 100644 --- a/3rdparty/asio/src/tests/unit/generic/datagram_protocol.cpp +++ b/3rdparty/asio/src/tests/unit/generic/datagram_protocol.cpp @@ -2,7 +2,7 @@ // generic/datagram_protocol.cpp // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // -// Copyright (c) 2003-2016 Christopher M. Kohlhoff (chris at kohlhoff dot com) +// Copyright (c) 2003-2024 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) @@ -20,6 +20,7 @@ #include "asio/io_context.hpp" #include "asio/ip/udp.hpp" #include "../unit_test.hpp" +#include "../archetypes/async_result.hpp" #if defined(__cplusplus_cli) || defined(__cplusplus_winrt) # define generic cpp_generic @@ -65,6 +66,7 @@ void test() socket_base::message_flags in_flags = 0; socket_base::send_buffer_size socket_option; socket_base::bytes_readable io_control_command; + archetypes::immediate_handler immediate; asio::error_code ec; // basic_datagram_socket constructors. @@ -78,33 +80,21 @@ void test() dp::socket socket4(ioc, dp(af_inet, ipproto_udp), native_socket1); #endif // !defined(ASIO_WINDOWS_RUNTIME) -#if defined(ASIO_HAS_MOVE) dp::socket socket5(std::move(socket4)); asio::ip::udp::socket udp_socket(ioc); dp::socket socket6(std::move(udp_socket)); -#endif // defined(ASIO_HAS_MOVE) // basic_datagram_socket operators. -#if defined(ASIO_HAS_MOVE) socket1 = dp::socket(ioc); socket1 = std::move(socket2); socket1 = asio::ip::udp::socket(ioc); -#endif // defined(ASIO_HAS_MOVE) // basic_io_object functions. dp::socket::executor_type ex = socket1.get_executor(); (void)ex; -#if !defined(ASIO_NO_DEPRECATED) - io_context& ioc_ref = socket1.get_io_context(); - (void)ioc_ref; - - io_context& ioc_ref2 = socket1.get_io_service(); - (void)ioc_ref2; -#endif // !defined(ASIO_NO_DEPRECATED) - // basic_socket functions. dp::socket::lowest_layer_type& lowest_layer = socket1.lowest_layer(); @@ -151,6 +141,7 @@ void test() socket1.connect(dp::endpoint(), ec); socket1.async_connect(dp::endpoint(), connect_handler); + socket1.async_connect(dp::endpoint(), immediate); socket1.set_option(socket_option); socket1.set_option(socket_option, ec); @@ -162,10 +153,14 @@ void test() socket1.io_control(io_control_command, ec); dp::endpoint endpoint1 = socket1.local_endpoint(); + (void)endpoint1; dp::endpoint endpoint2 = socket1.local_endpoint(ec); + (void)endpoint2; dp::endpoint endpoint3 = socket1.remote_endpoint(); + (void)endpoint3; dp::endpoint endpoint4 = socket1.remote_endpoint(ec); + (void)endpoint4; socket1.shutdown(socket_base::shutdown_both); socket1.shutdown(socket_base::shutdown_both, ec); @@ -188,6 +183,12 @@ void test() socket1.async_send(buffer(mutable_char_buffer), in_flags, send_handler); socket1.async_send(buffer(const_char_buffer), in_flags, send_handler); socket1.async_send(null_buffers(), in_flags, send_handler); + socket1.async_send(buffer(mutable_char_buffer), immediate); + socket1.async_send(buffer(const_char_buffer), immediate); + socket1.async_send(null_buffers(), immediate); + socket1.async_send(buffer(mutable_char_buffer), in_flags, immediate); + socket1.async_send(buffer(const_char_buffer), in_flags, immediate); + socket1.async_send(null_buffers(), in_flags, immediate); socket1.send_to(buffer(mutable_char_buffer), dp::endpoint()); @@ -220,6 +221,18 @@ void test() dp::endpoint(), in_flags, send_handler); socket1.async_send_to(null_buffers(), dp::endpoint(), in_flags, send_handler); + socket1.async_send_to(buffer(mutable_char_buffer), + dp::endpoint(), immediate); + socket1.async_send_to(buffer(const_char_buffer), + dp::endpoint(), immediate); + socket1.async_send_to(null_buffers(), + dp::endpoint(), immediate); + socket1.async_send_to(buffer(mutable_char_buffer), + dp::endpoint(), in_flags, immediate); + socket1.async_send_to(buffer(const_char_buffer), + dp::endpoint(), in_flags, immediate); + socket1.async_send_to(null_buffers(), + dp::endpoint(), in_flags, immediate); socket1.receive(buffer(mutable_char_buffer)); socket1.receive(null_buffers()); @@ -233,6 +246,10 @@ void test() socket1.async_receive(buffer(mutable_char_buffer), in_flags, receive_handler); socket1.async_receive(null_buffers(), in_flags, receive_handler); + socket1.async_receive(buffer(mutable_char_buffer), immediate); + socket1.async_receive(null_buffers(), immediate); + socket1.async_receive(buffer(mutable_char_buffer), in_flags, immediate); + socket1.async_receive(null_buffers(), in_flags, immediate); dp::endpoint endpoint; socket1.receive_from(buffer(mutable_char_buffer), endpoint); @@ -250,6 +267,14 @@ void test() endpoint, in_flags, receive_handler); socket1.async_receive_from(null_buffers(), endpoint, in_flags, receive_handler); + socket1.async_receive_from(buffer(mutable_char_buffer), + endpoint, immediate); + socket1.async_receive_from(null_buffers(), + endpoint, immediate); + socket1.async_receive_from(buffer(mutable_char_buffer), + endpoint, in_flags, immediate); + socket1.async_receive_from(null_buffers(), + endpoint, in_flags, immediate); } catch (std::exception&) { @@ -263,5 +288,5 @@ void test() ASIO_TEST_SUITE ( "generic/datagram_protocol", - ASIO_TEST_CASE(generic_datagram_protocol_socket_compile::test) + ASIO_COMPILE_TEST_CASE(generic_datagram_protocol_socket_compile::test) ) diff --git a/3rdparty/asio/src/tests/unit/generic/raw_protocol.cpp b/3rdparty/asio/src/tests/unit/generic/raw_protocol.cpp index 92c0efa899f..d20ef5ba870 100644 --- a/3rdparty/asio/src/tests/unit/generic/raw_protocol.cpp +++ b/3rdparty/asio/src/tests/unit/generic/raw_protocol.cpp @@ -2,7 +2,7 @@ // generic/raw_protocol.cpp // ~~~~~~~~~~~~~~~~~~~~~~~~ // -// Copyright (c) 2003-2016 Christopher M. Kohlhoff (chris at kohlhoff dot com) +// Copyright (c) 2003-2024 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) @@ -20,6 +20,7 @@ #include "asio/io_context.hpp" #include "asio/ip/icmp.hpp" #include "../unit_test.hpp" +#include "../archetypes/async_result.hpp" #if defined(__cplusplus_cli) || defined(__cplusplus_winrt) # define generic cpp_generic @@ -65,6 +66,7 @@ void test() socket_base::message_flags in_flags = 0; socket_base::send_buffer_size socket_option; socket_base::bytes_readable io_control_command; + archetypes::immediate_handler immediate; asio::error_code ec; // basic_raw_socket constructors. @@ -78,33 +80,21 @@ void test() rp::socket socket4(ioc, rp(af_inet, ipproto_icmp), native_socket1); #endif // !defined(ASIO_WINDOWS_RUNTIME) -#if defined(ASIO_HAS_MOVE) rp::socket socket5(std::move(socket4)); asio::ip::icmp::socket icmp_socket(ioc); rp::socket socket6(std::move(icmp_socket)); -#endif // defined(ASIO_HAS_MOVE) // basic_datagram_socket operators. -#if defined(ASIO_HAS_MOVE) socket1 = rp::socket(ioc); socket1 = std::move(socket2); socket1 = asio::ip::icmp::socket(ioc); -#endif // defined(ASIO_HAS_MOVE) // basic_io_object functions. rp::socket::executor_type ex = socket1.get_executor(); (void)ex; -#if !defined(ASIO_NO_DEPRECATED) - io_context& ioc_ref = socket1.get_io_context(); - (void)ioc_ref; - - io_context& ioc_ref2 = socket1.get_io_service(); - (void)ioc_ref2; -#endif // !defined(ASIO_NO_DEPRECATED) - // basic_socket functions. rp::socket::lowest_layer_type& lowest_layer = socket1.lowest_layer(); @@ -151,6 +141,7 @@ void test() socket1.connect(rp::endpoint(), ec); socket1.async_connect(rp::endpoint(), connect_handler); + socket1.async_connect(rp::endpoint(), immediate); socket1.set_option(socket_option); socket1.set_option(socket_option, ec); @@ -162,10 +153,14 @@ void test() socket1.io_control(io_control_command, ec); rp::endpoint endpoint1 = socket1.local_endpoint(); + (void)endpoint1; rp::endpoint endpoint2 = socket1.local_endpoint(ec); + (void)endpoint2; rp::endpoint endpoint3 = socket1.remote_endpoint(); + (void)endpoint3; rp::endpoint endpoint4 = socket1.remote_endpoint(ec); + (void)endpoint4; socket1.shutdown(socket_base::shutdown_both); socket1.shutdown(socket_base::shutdown_both, ec); @@ -188,6 +183,12 @@ void test() socket1.async_send(buffer(mutable_char_buffer), in_flags, send_handler); socket1.async_send(buffer(const_char_buffer), in_flags, send_handler); socket1.async_send(null_buffers(), in_flags, send_handler); + socket1.async_send(buffer(mutable_char_buffer), immediate); + socket1.async_send(buffer(const_char_buffer), immediate); + socket1.async_send(null_buffers(), immediate); + socket1.async_send(buffer(mutable_char_buffer), in_flags, immediate); + socket1.async_send(buffer(const_char_buffer), in_flags, immediate); + socket1.async_send(null_buffers(), in_flags, immediate); socket1.send_to(buffer(mutable_char_buffer), rp::endpoint()); @@ -220,6 +221,18 @@ void test() rp::endpoint(), in_flags, send_handler); socket1.async_send_to(null_buffers(), rp::endpoint(), in_flags, send_handler); + socket1.async_send_to(buffer(mutable_char_buffer), + rp::endpoint(), immediate); + socket1.async_send_to(buffer(const_char_buffer), + rp::endpoint(), immediate); + socket1.async_send_to(null_buffers(), + rp::endpoint(), immediate); + socket1.async_send_to(buffer(mutable_char_buffer), + rp::endpoint(), in_flags, immediate); + socket1.async_send_to(buffer(const_char_buffer), + rp::endpoint(), in_flags, immediate); + socket1.async_send_to(null_buffers(), + rp::endpoint(), in_flags, immediate); socket1.receive(buffer(mutable_char_buffer)); socket1.receive(null_buffers()); @@ -233,6 +246,11 @@ void test() socket1.async_receive(buffer(mutable_char_buffer), in_flags, receive_handler); socket1.async_receive(null_buffers(), in_flags, receive_handler); + socket1.async_receive(buffer(mutable_char_buffer), immediate); + socket1.async_receive(null_buffers(), immediate); + socket1.async_receive(buffer(mutable_char_buffer), in_flags, + immediate); + socket1.async_receive(null_buffers(), in_flags, immediate); rp::endpoint endpoint; socket1.receive_from(buffer(mutable_char_buffer), endpoint); @@ -250,6 +268,14 @@ void test() endpoint, in_flags, receive_handler); socket1.async_receive_from(null_buffers(), endpoint, in_flags, receive_handler); + socket1.async_receive_from(buffer(mutable_char_buffer), + endpoint, immediate); + socket1.async_receive_from(null_buffers(), + endpoint, immediate); + socket1.async_receive_from(buffer(mutable_char_buffer), + endpoint, in_flags, immediate); + socket1.async_receive_from(null_buffers(), + endpoint, in_flags, immediate); } catch (std::exception&) { @@ -263,5 +289,5 @@ void test() ASIO_TEST_SUITE ( "generic/raw_protocol", - ASIO_TEST_CASE(generic_raw_protocol_socket_compile::test) + ASIO_COMPILE_TEST_CASE(generic_raw_protocol_socket_compile::test) ) diff --git a/3rdparty/asio/src/tests/unit/generic/seq_packet_protocol.cpp b/3rdparty/asio/src/tests/unit/generic/seq_packet_protocol.cpp index e66012649b4..587445b1f05 100644 --- a/3rdparty/asio/src/tests/unit/generic/seq_packet_protocol.cpp +++ b/3rdparty/asio/src/tests/unit/generic/seq_packet_protocol.cpp @@ -2,7 +2,7 @@ // generic/seq_packet_protocol.cpp // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // -// Copyright (c) 2003-2016 Christopher M. Kohlhoff (chris at kohlhoff dot com) +// Copyright (c) 2003-2024 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) @@ -19,6 +19,7 @@ #include <cstring> #include "asio/io_context.hpp" #include "../unit_test.hpp" +#include "../archetypes/async_result.hpp" #if defined(__cplusplus_cli) || defined(__cplusplus_winrt) # define generic cpp_generic @@ -64,6 +65,7 @@ void test() socket_base::message_flags out_flags = 0; socket_base::send_buffer_size socket_option; socket_base::bytes_readable io_control_command; + archetypes::immediate_handler immediate; asio::error_code ec; // basic_seq_packet_socket constructors. @@ -77,30 +79,18 @@ void test() spp::socket socket4(ioc, spp(af_inet, 0), native_socket1); #endif // !defined(ASIO_WINDOWS_RUNTIME) -#if defined(ASIO_HAS_MOVE) spp::socket socket5(std::move(socket4)); -#endif // defined(ASIO_HAS_MOVE) // basic_seq_packet_socket operators. -#if defined(ASIO_HAS_MOVE) socket1 = spp::socket(ioc); socket1 = std::move(socket2); -#endif // defined(ASIO_HAS_MOVE) // basic_io_object functions. spp::socket::executor_type ex = socket1.get_executor(); (void)ex; -#if !defined(ASIO_NO_DEPRECATED) - io_context& ioc_ref = socket1.get_io_context(); - (void)ioc_ref; - - io_context& ioc_ref2 = socket1.get_io_service(); - (void)ioc_ref2; -#endif // !defined(ASIO_NO_DEPRECATED) - // basic_socket functions. spp::socket::lowest_layer_type& lowest_layer = socket1.lowest_layer(); @@ -147,6 +137,7 @@ void test() socket1.connect(spp::endpoint(), ec); socket1.async_connect(spp::endpoint(), connect_handler); + socket1.async_connect(spp::endpoint(), immediate); socket1.set_option(socket_option); socket1.set_option(socket_option, ec); @@ -158,10 +149,14 @@ void test() socket1.io_control(io_control_command, ec); spp::endpoint endpoint1 = socket1.local_endpoint(); + (void)endpoint1; spp::endpoint endpoint2 = socket1.local_endpoint(ec); + (void)endpoint2; spp::endpoint endpoint3 = socket1.remote_endpoint(); + (void)endpoint3; spp::endpoint endpoint4 = socket1.remote_endpoint(ec); + (void)endpoint4; socket1.shutdown(socket_base::shutdown_both); socket1.shutdown(socket_base::shutdown_both, ec); @@ -178,6 +173,9 @@ void test() socket1.async_send(buffer(mutable_char_buffer), in_flags, send_handler); socket1.async_send(buffer(const_char_buffer), in_flags, send_handler); socket1.async_send(null_buffers(), in_flags, send_handler); + socket1.async_send(buffer(mutable_char_buffer), in_flags, immediate); + socket1.async_send(buffer(const_char_buffer), in_flags, immediate); + socket1.async_send(null_buffers(), in_flags, immediate); socket1.receive(buffer(mutable_char_buffer), out_flags); socket1.receive(null_buffers(), out_flags); @@ -192,6 +190,11 @@ void test() socket1.async_receive(buffer(mutable_char_buffer), in_flags, out_flags, receive_handler); socket1.async_receive(null_buffers(), in_flags, out_flags, receive_handler); + socket1.async_receive(buffer(mutable_char_buffer), out_flags, immediate); + socket1.async_receive(null_buffers(), out_flags, immediate); + socket1.async_receive(buffer(mutable_char_buffer), in_flags, + out_flags, immediate); + socket1.async_receive(null_buffers(), in_flags, out_flags, immediate); } catch (std::exception&) { @@ -205,5 +208,5 @@ void test() ASIO_TEST_SUITE ( "generic/seq_packet_protocol", - ASIO_TEST_CASE(generic_seq_packet_protocol_socket_compile::test) + ASIO_COMPILE_TEST_CASE(generic_seq_packet_protocol_socket_compile::test) ) diff --git a/3rdparty/asio/src/tests/unit/generic/stream_protocol.cpp b/3rdparty/asio/src/tests/unit/generic/stream_protocol.cpp index 796206917c6..dedf6d76cee 100644 --- a/3rdparty/asio/src/tests/unit/generic/stream_protocol.cpp +++ b/3rdparty/asio/src/tests/unit/generic/stream_protocol.cpp @@ -2,7 +2,7 @@ // generic/stream_protocol.cpp // ~~~~~~~~~~~~~~~~~~~~~~~~~~~ // -// Copyright (c) 2003-2016 Christopher M. Kohlhoff (chris at kohlhoff dot com) +// Copyright (c) 2003-2024 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) @@ -20,6 +20,7 @@ #include "asio/io_context.hpp" #include "asio/ip/tcp.hpp" #include "../unit_test.hpp" +#include "../archetypes/async_result.hpp" #if defined(__cplusplus_cli) || defined(__cplusplus_winrt) # define generic cpp_generic @@ -73,6 +74,7 @@ void test() socket_base::message_flags in_flags = 0; socket_base::keep_alive socket_option; socket_base::bytes_readable io_control_command; + archetypes::immediate_handler immediate; asio::error_code ec; // basic_stream_socket constructors. @@ -88,33 +90,21 @@ void test() #endif // defined(ASIO_WINDOWS_RUNTIME) sp::socket socket4(ioc, sp(af_inet, ipproto_tcp), native_socket1); -#if defined(ASIO_HAS_MOVE) sp::socket socket5(std::move(socket4)); asio::ip::tcp::socket tcp_socket(ioc); sp::socket socket6(std::move(tcp_socket)); -#endif // defined(ASIO_HAS_MOVE) // basic_stream_socket operators. -#if defined(ASIO_HAS_MOVE) socket1 = sp::socket(ioc); socket1 = std::move(socket2); socket1 = asio::ip::tcp::socket(ioc); -#endif // defined(ASIO_HAS_MOVE) // basic_io_object functions. sp::socket::executor_type ex = socket1.get_executor(); (void)ex; -#if !defined(ASIO_NO_DEPRECATED) - io_context& ioc_ref = socket1.get_io_context(); - (void)ioc_ref; - - io_context& ioc_ref2 = socket1.get_io_service(); - (void)ioc_ref2; -#endif // !defined(ASIO_NO_DEPRECATED) - // basic_socket functions. sp::socket::lowest_layer_type& lowest_layer = socket1.lowest_layer(); @@ -167,6 +157,7 @@ void test() socket1.connect(sp::endpoint(), ec); socket1.async_connect(sp::endpoint(), connect_handler); + socket1.async_connect(sp::endpoint(), immediate); socket1.set_option(socket_option); socket1.set_option(socket_option, ec); @@ -178,10 +169,14 @@ void test() socket1.io_control(io_control_command, ec); sp::endpoint endpoint1 = socket1.local_endpoint(); + (void)endpoint1; sp::endpoint endpoint2 = socket1.local_endpoint(ec); + (void)endpoint2; sp::endpoint endpoint3 = socket1.remote_endpoint(); + (void)endpoint3; sp::endpoint endpoint4 = socket1.remote_endpoint(ec); + (void)endpoint4; socket1.shutdown(socket_base::shutdown_both); socket1.shutdown(socket_base::shutdown_both, ec); @@ -204,6 +199,12 @@ void test() socket1.async_send(buffer(mutable_char_buffer), in_flags, send_handler); socket1.async_send(buffer(const_char_buffer), in_flags, send_handler); socket1.async_send(null_buffers(), in_flags, send_handler); + socket1.async_send(buffer(mutable_char_buffer), immediate); + socket1.async_send(buffer(const_char_buffer), immediate); + socket1.async_send(null_buffers(), immediate); + socket1.async_send(buffer(mutable_char_buffer), in_flags, immediate); + socket1.async_send(buffer(const_char_buffer), in_flags, immediate); + socket1.async_send(null_buffers(), in_flags, immediate); socket1.receive(buffer(mutable_char_buffer)); socket1.receive(null_buffers()); @@ -217,6 +218,11 @@ void test() socket1.async_receive(buffer(mutable_char_buffer), in_flags, receive_handler); socket1.async_receive(null_buffers(), in_flags, receive_handler); + socket1.async_receive(buffer(mutable_char_buffer), immediate); + socket1.async_receive(null_buffers(), immediate); + socket1.async_receive(buffer(mutable_char_buffer), in_flags, + immediate); + socket1.async_receive(null_buffers(), in_flags, immediate); socket1.write_some(buffer(mutable_char_buffer)); socket1.write_some(buffer(const_char_buffer)); @@ -228,6 +234,9 @@ void test() socket1.async_write_some(buffer(mutable_char_buffer), write_some_handler); socket1.async_write_some(buffer(const_char_buffer), write_some_handler); socket1.async_write_some(null_buffers(), write_some_handler); + socket1.async_write_some(buffer(mutable_char_buffer), immediate); + socket1.async_write_some(buffer(const_char_buffer), immediate); + socket1.async_write_some(null_buffers(), immediate); socket1.read_some(buffer(mutable_char_buffer)); socket1.read_some(buffer(mutable_char_buffer), ec); @@ -235,6 +244,8 @@ void test() socket1.async_read_some(buffer(mutable_char_buffer), read_some_handler); socket1.async_read_some(null_buffers(), read_some_handler); + socket1.async_read_some(buffer(mutable_char_buffer), immediate); + socket1.async_read_some(null_buffers(), immediate); } catch (std::exception&) { @@ -248,5 +259,5 @@ void test() ASIO_TEST_SUITE ( "generic/stream_protocol", - ASIO_TEST_CASE(generic_stream_protocol_socket_compile::test) + ASIO_COMPILE_TEST_CASE(generic_stream_protocol_socket_compile::test) ) |