29 TEST_F(FiberIOExecutorTest, event_base) {
30 auto tpe = std::make_shared<folly::IOThreadPoolExecutor>(1);
34 ASSERT_EQ(e.getEventBase(), tpe->getEventBase());
37 TEST_F(FiberIOExecutorTest, basic_execution) {
38 auto tpe = std::make_shared<folly::IOThreadPoolExecutor>(1);
44 bool inContext =
false;
EventBase * getEventBase() const
#define ASSERT_EQ(val1, val2)
TEST_F(TestInfoTest, Names)
EventBase & getEventBase()
An IOExecutor that executes funcs under mapped fiber context.
static EventBaseManager * get()
FOLLY_ALWAYS_INLINE void wait(const WaitOptions &opt=wait_options()) noexcept
VirtualEventBase * getEventBase()
#define ASSERT_NE(val1, val2)
#define ASSERT_TRUE(condition)
FiberManager & getFiberManager(EventBase &evb, const FiberManager::Options &opts)