proxygen
|
Protected Types | |
using | TNT = mi::invoke_result_t< decltype(make_time), mi::time_source<> &, NT & > |
Protected Member Functions | |
void | reset () |
void | join () |
template<class MakeTokens > | |
void | cancellation_test (std::chrono::system_clock::time_point at, MakeTokens make_tokens) |
Protected Member Functions inherited from testing::Test | |
Test () | |
virtual void | SetUp () |
virtual void | TearDown () |
Test () | |
virtual void | SetUp () |
virtual void | TearDown () |
Test () | |
virtual void | SetUp () |
virtual void | TearDown () |
Protected Attributes | |
NT | ntproduce_ {mi::new_thread()} |
mi::time_source | timeproduce_ {} |
TNT | tnt_ {make_time(timeproduce_, ntproduce_)} |
NT | ntcancel_ {mi::new_thread()} |
mi::time_source | timecancel_ {} |
TNT | tcncl_ {make_time(timecancel_, ntcancel_)} |
std::atomic< int > | signals_ {0} |
std::atomic< int > | terminal_ {0} |
std::atomic< int > | cancel_ {0} |
std::chrono::system_clock::time_point | at_ {mi::now(tnt_) + 100ms} |
Additional Inherited Members | |
Public Types inherited from testing::Test | |
typedef internal::SetUpTestCaseFunc | SetUpTestCaseFunc |
typedef internal::TearDownTestCaseFunc | TearDownTestCaseFunc |
typedef internal::SetUpTestCaseFunc | SetUpTestCaseFunc |
typedef internal::TearDownTestCaseFunc | TearDownTestCaseFunc |
typedef internal::SetUpTestCaseFunc | SetUpTestCaseFunc |
typedef internal::TearDownTestCaseFunc | TearDownTestCaseFunc |
Public Member Functions inherited from testing::Test | |
virtual | ~Test () |
virtual | ~Test () |
virtual | ~Test () |
Static Public Member Functions inherited from testing::Test | |
static void | SetUpTestCase () |
static void | TearDownTestCase () |
static bool | HasFatalFailure () |
static bool | HasNonfatalFailure () |
static bool | HasFailure () |
static void | RecordProperty (const std::string &key, const std::string &value) |
static void | RecordProperty (const std::string &key, int value) |
static void | SetUpTestCase () |
static void | TearDownTestCase () |
static bool | HasFatalFailure () |
static bool | HasNonfatalFailure () |
static bool | HasFailure () |
static void | RecordProperty (const std::string &key, const std::string &value) |
static void | RecordProperty (const std::string &key, int value) |
static void | SetUpTestCase () |
static void | TearDownTestCase () |
static bool | HasFatalFailure () |
static bool | HasNonfatalFailure () |
static bool | HasFailure () |
static void | RecordProperty (const std::string &key, const std::string &value) |
static void | RecordProperty (const std::string &key, int value) |
Definition at line 130 of file FlowTest.cpp.
|
protected |
Definition at line 132 of file FlowTest.cpp.
|
inlineprotected |
Definition at line 147 of file FlowTest.cpp.
References data, f, folly::pushmi::lock_both(), MAKE, folly::gen::move, folly::pushmi::__adl::noexcept(), folly::pushmi::on_done(), folly::pushmi::on_error(), folly::pushmi::on_starting(), folly::pushmi::on_value(), folly::pushmi::set_done, stop(), submit, folly::pushmi::operators::submit_at, tokens, and folly::fibers::yield().
|
inlineprotected |
Definition at line 141 of file FlowTest.cpp.
|
inlineprotected |
Definition at line 134 of file FlowTest.cpp.
References now().
|
protected |
Definition at line 243 of file FlowTest.cpp.
|
protected |
Definition at line 242 of file FlowTest.cpp.
|
protected |
Definition at line 236 of file FlowTest.cpp.
|
protected |
Definition at line 232 of file FlowTest.cpp.
|
protected |
Definition at line 240 of file FlowTest.cpp.
|
protected |
Definition at line 238 of file FlowTest.cpp.
|
protected |
Definition at line 241 of file FlowTest.cpp.
|
protected |
Definition at line 237 of file FlowTest.cpp.
|
protected |
Definition at line 233 of file FlowTest.cpp.
|
protected |
Definition at line 234 of file FlowTest.cpp.