|
proxygen
|
#include <folly/executors/TimedDrivableExecutor.h>#include <folly/futures/Future.h>#include <folly/portability/GTest.h>#include <folly/synchronization/Baton.h>Go to the source code of this file.
Functions | |
| TEST (TimedDrivableExecutor, runIsStable) | |
| TEST (TimedDrivableExecutor, drainIsNotStable) | |
| TEST (TimedDrivableExecutor, try_drive) | |
| TEST (TimedDrivableExecutor, try_drive_for) | |
| TEST (TimedDrivableExecutor, try_drive_until) | |
| TEST | ( | TimedDrivableExecutor | , |
| runIsStable | |||
| ) |
Definition at line 25 of file TimedDrivableExecutorTest.cpp.
References folly::TimedDrivableExecutor::add(), count, EXPECT_EQ, folly::TimedDrivableExecutor::run(), and x.
| TEST | ( | TimedDrivableExecutor | , |
| drainIsNotStable | |||
| ) |
Definition at line 38 of file TimedDrivableExecutorTest.cpp.
References folly::TimedDrivableExecutor::add(), count, folly::TimedDrivableExecutor::drain(), EXPECT_EQ, and x.
| TEST | ( | TimedDrivableExecutor | , |
| try_drive | |||
| ) |
Definition at line 51 of file TimedDrivableExecutorTest.cpp.
References folly::TimedDrivableExecutor::add(), count, EXPECT_EQ, folly::TimedDrivableExecutor::try_drive(), and x.
| TEST | ( | TimedDrivableExecutor | , |
| try_drive_for | |||
| ) |
Definition at line 62 of file TimedDrivableExecutorTest.cpp.
References folly::TimedDrivableExecutor::add(), count, EXPECT_EQ, folly::TimedDrivableExecutor::try_drive_for(), and x.
| TEST | ( | TimedDrivableExecutor | , |
| try_drive_until | |||
| ) |
Definition at line 73 of file TimedDrivableExecutorTest.cpp.
References folly::TimedDrivableExecutor::add(), count, EXPECT_EQ, now(), folly::TimedDrivableExecutor::try_drive_until(), and x.