proxygen
|
Go to the source code of this file.
Functions | |
TEST (SharedPromise, setGetSemiFuture) | |
TEST (SharedPromise, setGetMixed) | |
TEST (SharedPromise, setGet) | |
TEST (SharedPromise, getSet) | |
TEST (SharedPromise, getSetGet) | |
TEST (SharedPromise, reset) | |
TEST (SharedPromise, getMoveSet) | |
TEST (SharedPromise, setMoveGet) | |
TEST (SharedPromise, moveSetGet) | |
TEST (SharedPromise, moveGetSet) | |
TEST (SharedPromise, moveMove) | |
TEST (SharedPromise, setWith) | |
TEST (SharedPromise, isFulfilled) | |
TEST (SharedPromise, interruptHandler) | |
TEST | ( | SharedPromise | , |
setGetSemiFuture | |||
) |
Definition at line 22 of file SharedPromiseTest.cpp.
References EXPECT_EQ, folly::SharedPromise< T >::getSemiFuture(), and folly::SharedPromise< T >::setValue().
TEST | ( | SharedPromise | , |
setGetMixed | |||
) |
Definition at line 31 of file SharedPromiseTest.cpp.
References EXPECT_EQ, folly::SharedPromise< T >::getFuture(), folly::SharedPromise< T >::getSemiFuture(), and folly::SharedPromise< T >::setValue().
TEST | ( | SharedPromise | , |
setGet | |||
) |
Definition at line 40 of file SharedPromiseTest.cpp.
References EXPECT_EQ, folly::SharedPromise< T >::getFuture(), and folly::SharedPromise< T >::setValue().
TEST | ( | SharedPromise | , |
getSet | |||
) |
Definition at line 48 of file SharedPromiseTest.cpp.
References EXPECT_EQ, folly::SharedPromise< T >::getFuture(), and folly::SharedPromise< T >::setValue().
TEST | ( | SharedPromise | , |
getSetGet | |||
) |
Definition at line 57 of file SharedPromiseTest.cpp.
References EXPECT_EQ, folly::SharedPromise< T >::getFuture(), and folly::SharedPromise< T >::setValue().
TEST | ( | SharedPromise | , |
reset | |||
) |
Definition at line 66 of file SharedPromiseTest.cpp.
References EXPECT_EQ, EXPECT_FALSE, folly::SharedPromise< T >::getFuture(), and folly::SharedPromise< T >::setValue().
TEST | ( | SharedPromise | , |
getMoveSet | |||
) |
Definition at line 80 of file SharedPromiseTest.cpp.
References EXPECT_EQ, f, folly::SharedPromise< T >::getFuture(), and folly::gen::move.
TEST | ( | SharedPromise | , |
setMoveGet | |||
) |
Definition at line 88 of file SharedPromiseTest.cpp.
References EXPECT_EQ, f, folly::gen::move, and folly::SharedPromise< T >::setValue().
TEST | ( | SharedPromise | , |
moveSetGet | |||
) |
TEST | ( | SharedPromise | , |
moveGetSet | |||
) |
Definition at line 104 of file SharedPromiseTest.cpp.
References EXPECT_EQ, f, and folly::gen::move.
TEST | ( | SharedPromise | , |
moveMove | |||
) |
Definition at line 112 of file SharedPromiseTest.cpp.
References folly::SharedPromise< T >::getFuture(), folly::gen::move, and folly::SharedPromise< T >::setValue().
TEST | ( | SharedPromise | , |
setWith | |||
) |
Definition at line 121 of file SharedPromiseTest.cpp.
References EXPECT_EQ, folly::SharedPromise< T >::getFuture(), and folly::SharedPromise< T >::setWith().
TEST | ( | SharedPromise | , |
isFulfilled | |||
) |
Definition at line 127 of file SharedPromiseTest.cpp.
References EXPECT_FALSE, EXPECT_TRUE, folly::SharedPromise< T >::isFulfilled(), and folly::gen::move.
TEST | ( | SharedPromise | , |
interruptHandler | |||
) |
Definition at line 138 of file SharedPromiseTest.cpp.
References EXPECT_TRUE, f, flag, folly::SharedPromise< T >::getFuture(), and folly::SharedPromise< T >::setInterruptHandler().