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

Function TEST

src/tests/future_tests.cpp:37–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35
36
37TEST(FutureTest, Future)
38{
39 Promise<bool> promise;
40 promise.set(true);
41 ASSERT_TRUE(promise.future().isReady());
42 EXPECT_TRUE(promise.future().get());
43}
44
45
46TEST(FutureTest, Stringify)

Callers

nothing calls this directly

Calls 15

bindFunction · 0.85
readyFutureFunction · 0.85
failedFutureFunction · 0.85
pendingFutureFunction · 0.85
selectFunction · 0.85
undiscardableFunction · 0.85
isReadyMethod · 0.80
futureMethod · 0.80
associateMethod · 0.80
isDiscardedMethod · 0.80
isFailedMethod · 0.80
hasDiscardMethod · 0.80

Tested by

no test coverage detected