proxygen
|
#include <array>
#include <type_traits>
#include <chrono>
#include <folly/experimental/pushmi/flow_many_sender.h>
#include <folly/experimental/pushmi/o/for_each.h>
#include <folly/experimental/pushmi/o/from.h>
#include <folly/experimental/pushmi/o/submit.h>
#include <folly/experimental/pushmi/entangle.h>
#include <folly/experimental/pushmi/new_thread.h>
#include <folly/experimental/pushmi/time_source.h>
#include <folly/experimental/pushmi/trampoline.h>
#include <folly/portability/GMock.h>
#include <folly/portability/GTest.h>
Go to the source code of this file.
Classes | |
class | ImmediateFlowManySender |
class | ConcurrentFlowManySender |
Macros | |
#define | MAKE(x) make_##x |
Typedefs | |
using | NT = decltype(mi::new_thread()) |
Functions | |
TEST_F (ImmediateFlowManySender, EarlyCancellation) | |
TEST_F (ImmediateFlowManySender, LateCancellation) | |
auto | make_time (mi::time_source<> &t, NT &ex) |
TEST_F (ConcurrentFlowManySender, EarlyCancellation) | |
TEST_F (ConcurrentFlowManySender, LateCancellation) | |
TEST_F (ConcurrentFlowManySender, RacingCancellation) | |
TEST (FlowManySender, From) | |
Definition at line 46 of file FlowManyTest.cpp.
Referenced by ConcurrentFlowManySender::cancellation_test(), ImmediateFlowManySender::make_consumer(), ImmediateFlowManySender::make_producer(), and TEST().
using NT = decltype(mi::new_thread()) |
Definition at line 124 of file FlowManyTest.cpp.
|
inline |
Definition at line 126 of file FlowManyTest.cpp.
References folly::pushmi::time_source< E, TP >::make().
TEST | ( | FlowManySender | , |
From | |||
) |
Definition at line 293 of file FlowManyTest.cpp.
References testing::Eq(), EXPECT_THAT, f, folly::pushmi::operators::flow_from, for_each(), and MAKE.
TEST_F | ( | ImmediateFlowManySender | , |
EarlyCancellation | |||
) |
Definition at line 104 of file FlowManyTest.cpp.
References testing::Eq(), EXPECT_THAT, folly::pushmi::set_done, and submit.
TEST_F | ( | ImmediateFlowManySender | , |
LateCancellation | |||
) |
Definition at line 114 of file FlowManyTest.cpp.
References testing::Eq(), EXPECT_THAT, folly::pushmi::set_value, and submit.
TEST_F | ( | ConcurrentFlowManySender | , |
EarlyCancellation | |||
) |
TEST_F | ( | ConcurrentFlowManySender | , |
LateCancellation | |||
) |
TEST_F | ( | ConcurrentFlowManySender | , |
RacingCancellation | |||
) |
Definition at line 260 of file FlowManyTest.cpp.
References ASSERT_THAT, testing::Eq(), EXPECT_THAT, join, and testing::Lt().