MCPcopy Create free account
hub / github.com/boostorg/asio / test_3_arg_nothrow_zero_buffers_write

Function test_3_arg_nothrow_zero_buffers_write

test/write.cpp:258–268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

256}
257
258void test_3_arg_nothrow_zero_buffers_write()
259{
260 boost::asio::io_context ioc;
261 test_stream s(ioc);
262 std::vector<boost::asio::const_buffer> buffers;
263
264 boost::system::error_code error;
265 size_t bytes_transferred = boost::asio::write(s, buffers, error);
266 BOOST_ASIO_CHECK(bytes_transferred == 0);
267 BOOST_ASIO_CHECK(!error);
268}
269
270void test_3_arg_nothrow_const_buffer_write()
271{

Callers

nothing calls this directly

Calls 1

writeFunction · 0.85

Tested by

no test coverage detected