proxygen
|
Go to the source code of this file.
Functions | |
TEST (NonCopyableLambda, basic) | |
TEST (NonCopyableLambda, unique_ptr) | |
TEST (NonCopyableLambda, Function) | |
TEST (NonCopyableLambda, FunctionConst) | |
TEST | ( | NonCopyableLambda | , |
basic | |||
) |
Definition at line 22 of file NonCopyableLambdaTest.cpp.
References folly::netops::bind(), EXPECT_EQ, EXPECT_TRUE, folly::Promise< T >::getFuture(), folly::futures::detail::FutureBase< T >::isReady(), folly::gen::move, and folly::Promise< T >::setValue().
TEST | ( | NonCopyableLambda | , |
unique_ptr | |||
) |
Definition at line 40 of file NonCopyableLambdaTest.cpp.
References folly::netops::bind(), EXPECT_EQ, EXPECT_FALSE, EXPECT_TRUE, folly::Promise< T >::getFuture(), folly::gen::move, and folly::Promise< T >::setValue().
TEST | ( | NonCopyableLambda | , |
Function | |||
) |
Definition at line 67 of file NonCopyableLambdaTest.cpp.
References EXPECT_EQ, EXPECT_FALSE, EXPECT_THROW, EXPECT_TRUE, folly::Promise< T >::getFuture(), folly::gen::move, folly::Promise< T >::setValue(), and x.
TEST | ( | NonCopyableLambda | , |
FunctionConst | |||
) |
Definition at line 81 of file NonCopyableLambdaTest.cpp.
References EXPECT_EQ, EXPECT_FALSE, EXPECT_THROW, EXPECT_TRUE, folly::Promise< T >::getFuture(), folly::gen::move, folly::Promise< T >::setValue(), and x.