proxygen
|
#include <memory>
#include <folly/executors/FiberIOExecutor.h>
#include <folly/executors/IOThreadPoolExecutor.h>
#include <folly/portability/GTest.h>
Go to the source code of this file.
Functions | |
TEST_F (FiberIOExecutorTest, event_base) | |
TEST_F (FiberIOExecutorTest, basic_execution) | |
TEST_F | ( | FiberIOExecutorTest | , |
event_base | |||
) |
Definition at line 29 of file FiberIOExecutorTest.cpp.
References ASSERT_EQ, and ASSERT_NE.
TEST_F | ( | FiberIOExecutorTest | , |
basic_execution | |||
) |
Definition at line 37 of file FiberIOExecutorTest.cpp.
References ASSERT_TRUE, folly::EventBaseManager::get(), folly::fibers::EventBaseLoopController::getEventBase(), folly::VirtualEventBase::getEventBase(), folly::EventBaseManager::getEventBase(), folly::fibers::getFiberManager(), folly::fibers::onFiber(), folly::Baton< MayBlock, Atom >::post(), and folly::Baton< MayBlock, Atom >::wait().