MCPcopy Create free account
hub / github.com/3rdparty/libprocess / onAny

Function onAny

src/tests/future_tests.cpp:159–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157
158
159void onAny(const Future<bool>& future, bool* b)
160{
161 ASSERT_TRUE(future.isReady());
162 *b = future.get();
163}
164
165
166TEST(FutureTest, OnAny)

Callers 5

FutureClass · 0.85
thenMethod · 0.85
recoverMethod · 0.85
repairMethod · 0.85
afterMethod · 0.85

Calls 2

isReadyMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected