|
proxygen
|
Go to the source code of this file.
Functions | |
| TEST (Unwrap, simpleScenario) | |
| TEST (Unwrap, chainCommands) | |
| TEST (Unwrap, futureNotReady) | |
| TEST | ( | Unwrap | , |
| simpleScenario | |||
| ) |
Definition at line 24 of file UnwrapTest.cpp.
References EXPECT_EQ, folly::makeFuture(), folly::gen::move, folly::gen::unwrap, and folly::value().
| TEST | ( | Unwrap | , |
| chainCommands | |||
| ) |
Definition at line 31 of file UnwrapTest.cpp.
References EXPECT_EQ, i, folly::makeFuture(), and folly::gen::move.
| TEST | ( | Unwrap | , |
| futureNotReady | |||
| ) |
Definition at line 40 of file UnwrapTest.cpp.
References ASSERT_FALSE, ASSERT_TRUE, EXPECT_EQ, folly::Promise< T >::getFuture(), folly::futures::detail::FutureBase< T >::isReady(), folly::makeFuture(), folly::gen::move, folly::Promise< T >::setValue(), and folly::futures::detail::FutureBase< T >::value().