MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / stopFreeRequestFails

Method stopFreeRequestFails

Tests/Libraries/Async/AsyncContractTest.cpp:338–347  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

336}
337
338void SC::AsyncContractTest::stopFreeRequestFails()
339{
340 AsyncEventLoop eventLoop;
341 SC_TEST_EXPECT(eventLoop.create(options));
342
343 AsyncLoopTimeout timeout;
344 SC_TEST_EXPECT(not timeout.stop(eventLoop));
345 SC_TEST_EXPECT(timeout.isFree());
346 SC_TEST_EXPECT(eventLoop.close());
347}
348
349void SC::AsyncContractTest::stopSubmittedRequestSuppressesNormalCallback()
350{

Callers

nothing calls this directly

Calls 4

isFreeMethod · 0.80
createMethod · 0.45
stopMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected