proxygen
|
#include <type_traits>
#include <chrono>
#include <folly/experimental/pushmi/flow_single_sender.h>
#include <folly/experimental/pushmi/o/empty.h>
#include <folly/experimental/pushmi/o/extension_operators.h>
#include <folly/experimental/pushmi/o/just.h>
#include <folly/experimental/pushmi/o/on.h>
#include <folly/experimental/pushmi/o/submit.h>
#include <folly/experimental/pushmi/o/tap.h>
#include <folly/experimental/pushmi/o/transform.h>
#include <folly/experimental/pushmi/o/via.h>
#include <folly/experimental/pushmi/inline.h>
#include <folly/experimental/pushmi/trampoline.h>
#include <folly/Conv.h>
#include <folly/portability/GMock.h>
#include <folly/portability/GTest.h>
Go to the source code of this file.
Classes | |
struct | countdownsingle |
class | TrampolineExecutor |
Typedefs | |
using | TR = decltype(mi::trampoline()) |
Functions | |
TEST_F (TrampolineExecutor, TransformAndSubmit) | |
TEST_F (TrampolineExecutor, BlockingGet) | |
TEST_F (TrampolineExecutor, VirtualDerecursion) | |
TEST_F (TrampolineExecutor, StaticDerecursion) | |
TEST_F (TrampolineExecutor, UsedWithOn) | |
TEST_F (TrampolineExecutor, UsedWithVia) | |
using TR = decltype(mi::trampoline()) |
Definition at line 57 of file TrampolineTest.cpp.
TEST_F | ( | TrampolineExecutor | , |
TransformAndSubmit | |||
) |
Definition at line 64 of file TrampolineTest.cpp.
References testing::Eq(), EXPECT_THAT, folly::pushmi::__adl::noexcept(), submit, and folly::pushmi::operators::transform.
TEST_F | ( | TrampolineExecutor | , |
BlockingGet | |||
) |
Definition at line 76 of file TrampolineTest.cpp.
References testing::Eq(), EXPECT_THAT, and folly::pushmi::operators::transform.
TEST_F | ( | TrampolineExecutor | , |
VirtualDerecursion | |||
) |
TEST_F | ( | TrampolineExecutor | , |
StaticDerecursion | |||
) |
Definition at line 96 of file TrampolineTest.cpp.
References testing::Eq(), EXPECT_THAT, single, and submit.
TEST_F | ( | TrampolineExecutor | , |
UsedWithOn | |||
) |
Definition at line 105 of file TrampolineTest.cpp.
References testing::ElementsAre(), testing::Eq(), EXPECT_THAT, folly::pushmi::inline_executor(), folly::pushmi::make_single_sender, max, min, folly::pushmi::operators::on, folly::pushmi::on_value(), folly::pushmi::set_done, folly::pushmi::set_value, submit, value, and values().
TEST_F | ( | TrampolineExecutor | , |
UsedWithVia | |||
) |
Definition at line 131 of file TrampolineTest.cpp.
References testing::ElementsAre(), testing::Eq(), EXPECT_THAT, folly::pushmi::inline_executor(), folly::pushmi::make_single_sender, max, min, folly::pushmi::on_value(), folly::pushmi::set_done, folly::pushmi::set_value, submit, value, values(), and folly::pushmi::operators::via.