proxygen
|
#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/from.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/portability/GMock.h>
#include <folly/portability/GTest.h>
Go to the source code of this file.
Macros | |
#define | MAKE(x) make_##x |
Functions | |
void | receiver_0_test () |
void | receiver_1_test () |
void | receiver_n_test () |
void | single_sender_test () |
void | many_sender_test () |
void | constrained_single_sender_test () |
void | time_single_sender_test () |
void | flow_receiver_1_test () |
void | flow_receiver_n_test () |
void | flow_single_sender_test () |
void | flow_many_sender_test () |
TEST (CompileTest, Test) | |
Definition at line 40 of file CompileTest.cpp.
Referenced by constrained_single_sender_test(), flow_many_sender_test(), flow_receiver_1_test(), flow_receiver_n_test(), flow_single_sender_test(), many_sender_test(), receiver_0_test(), receiver_1_test(), receiver_n_test(), single_sender_test(), and time_single_sender_test().
void constrained_single_sender_test | ( | ) |
Definition at line 277 of file CompileTest.cpp.
References folly::pushmi::operators::blocking_submit, c, folly::pushmi::inline_constrained_executor(), MAKE, folly::gen::move, folly::pushmi::on_value(), folly::pushmi::set_value, and submit.
void flow_many_sender_test | ( | ) |
Definition at line 539 of file CompileTest.cpp.
References MAKE, folly::gen::move, folly::pushmi::on_value(), folly::pushmi::set_value, and folly::pushmi::trampoline().
void flow_receiver_1_test | ( | ) |
Definition at line 367 of file CompileTest.cpp.
References MAKE, folly::pushmi::__adl::noexcept(), folly::pushmi::on_done(), folly::pushmi::on_error(), folly::pushmi::on_value(), folly::pushmi::set_value, and v.
void flow_receiver_n_test | ( | ) |
Definition at line 438 of file CompileTest.cpp.
References MAKE, folly::pushmi::__adl::noexcept(), folly::pushmi::on_done(), folly::pushmi::on_error(), folly::pushmi::on_value(), folly::pushmi::set_value, and v.
void flow_single_sender_test | ( | ) |
Definition at line 509 of file CompileTest.cpp.
References MAKE, folly::gen::move, folly::pushmi::on_value(), folly::pushmi::set_value, and folly::pushmi::trampoline().
void many_sender_test | ( | ) |
Definition at line 249 of file CompileTest.cpp.
References MAKE, folly::gen::move, folly::pushmi::on_value(), folly::pushmi::set_value, and folly::pushmi::trampoline().
void receiver_0_test | ( | ) |
Definition at line 43 of file CompileTest.cpp.
References MAKE, folly::gen::move, folly::pushmi::__adl::noexcept(), folly::pushmi::on_done(), folly::pushmi::on_error(), and folly::pushmi::on_value().
void receiver_1_test | ( | ) |
Definition at line 99 of file CompileTest.cpp.
References MAKE, folly::gen::move, folly::pushmi::__adl::noexcept(), folly::pushmi::on_done(), folly::pushmi::on_error(), folly::pushmi::on_value(), folly::pushmi::set_value, and v.
void receiver_n_test | ( | ) |
Definition at line 162 of file CompileTest.cpp.
References MAKE, folly::pushmi::__adl::noexcept(), folly::pushmi::on_done(), folly::pushmi::on_error(), folly::pushmi::on_value(), folly::pushmi::set_value, and v.
void single_sender_test | ( | ) |
Definition at line 217 of file CompileTest.cpp.
References MAKE, folly::gen::move, folly::pushmi::on_value(), folly::pushmi::set_value, submit, and folly::pushmi::trampoline().
TEST | ( | CompileTest | , |
Test | |||
) |
Definition at line 571 of file CompileTest.cpp.
void time_single_sender_test | ( | ) |
Definition at line 321 of file CompileTest.cpp.
References folly::pushmi::operators::blocking_submit, folly::pushmi::inline_time_executor(), MAKE, folly::gen::move, now(), folly::pushmi::on_value(), s, folly::pushmi::set_value, submit, folly::pushmi::operators::submit_after, folly::pushmi::operators::submit_at, and folly::pushmi::__adl::tp.