proxygen
|
#include <folly/executors/Async.h>
#include <folly/executors/ManualExecutor.h>
#include <folly/portability/GTest.h>
#include <memory>
Go to the source code of this file.
Functions | |
TEST (AsyncFunc, manual_executor) | |
TEST (AsyncFunc, value_lambda) | |
TEST (AsyncFunc, void_lambda) | |
TEST (AsyncFunc, moveonly_lambda) | |
TEST | ( | AsyncFunc | , |
manual_executor | |||
) |
Definition at line 25 of file AsyncTest.cpp.
References folly::async(), EXPECT_EQ, EXPECT_FALSE, f, folly::getCPUExecutor(), and folly::setCPUExecutor().
TEST | ( | AsyncFunc | , |
value_lambda | |||
) |
Definition at line 36 of file AsyncTest.cpp.
References folly::async(), EXPECT_EQ, and folly::gen::move.
TEST | ( | AsyncFunc | , |
void_lambda | |||
) |
Definition at line 42 of file AsyncTest.cpp.
References folly::async(), EXPECT_EQ, and folly::gen::move.
TEST | ( | AsyncFunc | , |
moveonly_lambda | |||
) |
Definition at line 49 of file AsyncTest.cpp.
References folly::async(), EXPECT_EQ, and folly::gen::move.