MCPcopy Create free account
hub / github.com/boostorg/beast / testHooks

Method testHooks

test/beast/core/bind_handler.cpp:364–372  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

362
363 template<class F>
364 void
365 testHooks(net::io_context& ioc, F&& f)
366 {
367 invoked_ = false;
368 net::post(ioc, std::forward<F>(f));
369 ioc.run();
370 ioc.restart();
371 BEAST_EXPECT(invoked_);
372 }
373
374 //--------------------------------------------------------------------------
375

Callers

nothing calls this directly

Calls 1

runMethod · 0.45

Tested by

no test coverage detected