Lines Matching refs:TestTaskRunner
29 TestTaskRunner::TestTaskRunner() = default;
31 TestTaskRunner::~TestTaskRunner() = default;
33 void TestTaskRunner::Run() { in Run()
39 void TestTaskRunner::RunUntilIdle() { in RunUntilIdle()
41 task_runner_.PostTask(std::bind(&TestTaskRunner::QuitIfIdle, this)); in RunUntilIdle()
45 void TestTaskRunner::QuitIfIdle() { in QuitIfIdle()
51 task_runner_.PostTask(std::bind(&TestTaskRunner::QuitIfIdle, this)); in QuitIfIdle()
54 void TestTaskRunner::RunUntilCheckpoint(const std::string& checkpoint, in RunUntilCheckpoint()
79 std::function<void()> TestTaskRunner::CreateCheckpoint( in CreateCheckpoint()
95 void TestTaskRunner::PostTask(std::function<void()> closure) { in PostTask()
99 void TestTaskRunner::PostDelayedTask(std::function<void()> closure, in PostDelayedTask()
104 void TestTaskRunner::AddFileDescriptorWatch(int fd, in AddFileDescriptorWatch()
109 void TestTaskRunner::RemoveFileDescriptorWatch(int fd) { in RemoveFileDescriptorWatch()
113 bool TestTaskRunner::RunsTasksOnCurrentThread() const { in RunsTasksOnCurrentThread()