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

Function test_2_arg_zero_buffers_write

test/write.cpp:139–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
138
139void test_2_arg_zero_buffers_write()
140{
141 boost::asio::io_context ioc;
142 test_stream s(ioc);
143 std::vector<boost::asio::const_buffer> buffers;
144
145 size_t bytes_transferred = boost::asio::write(s, buffers);
146 BOOST_ASIO_CHECK(bytes_transferred == 0);
147}
148
149void test_2_arg_const_buffer_write()
150{

Callers

nothing calls this directly

Calls 1

writeFunction · 0.85

Tested by

no test coverage detected