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

Function inline_executor_exception_test

test/inline_executor.cpp:141–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139}
140
141void inline_executor_exception_test()
142{
143#if !defined(BOOST_ASIO_NO_EXCEPTIONS)
144 bool caught = false;
145
146 try
147 {
148 inline_executor().execute(throw_exception);
149 }
150 catch (...)
151 {
152 caught = true;
153 }
154
155 BOOST_ASIO_CHECK(caught);
156#endif // !defined(BOOST_ASIO_NO_EXCEPTIONS)
157}
158
159BOOST_ASIO_TEST_SUITE
160(

Callers

nothing calls this directly

Calls 1

executeMethod · 0.45

Tested by

no test coverage detected