| 386 | } |
| 387 | |
| 388 | void deadline_timer_async_result_test() |
| 389 | { |
| 390 | boost::asio::io_context ioc; |
| 391 | boost::asio::deadline_timer t1(ioc); |
| 392 | |
| 393 | t1.expires_from_now(boost::posix_time::seconds(1)); |
| 394 | int i = t1.async_wait(archetypes::lazy_handler()); |
| 395 | BOOST_ASIO_CHECK(i == 42); |
| 396 | |
| 397 | ioc.run(); |
| 398 | } |
| 399 | |
| 400 | boost::asio::deadline_timer make_timer(boost::asio::io_context& ioc, int* count) |
| 401 | { |
nothing calls this directly
no test coverage detected