Searched refs:fake_waiter (Results 1 – 2 of 2) sorted by relevance
74 fake_waiter = std::make_unique<FakeTaskWaiter>(now_function); in Create()76 now_function, fake_waiter.get(), std::chrono::hours(1)); in Create()77 fake_waiter->SetTaskRunner(runner.get()); in Create()81 static std::unique_ptr<FakeTaskWaiter> fake_waiter; member in openscreen::__anon1ab43c6b0111::TaskRunnerWithWaiterFactory85 std::unique_ptr<FakeTaskWaiter> TaskRunnerWithWaiterFactory::fake_waiter; member in openscreen::__anon1ab43c6b0111::TaskRunnerWithWaiterFactory232 FakeTaskWaiter* fake_waiter = TaskRunnerWithWaiterFactory::fake_waiter.get(); in TEST() local233 while ((Clock::now() - start1) < kWaitTimeout && !fake_waiter->IsWaiting()) { in TEST()236 ASSERT_TRUE(fake_waiter->IsWaiting()); in TEST()238 fake_waiter->WakeUpAndStop(); in TEST()244 ASSERT_FALSE(fake_waiter->IsWaiting()); in TEST()[all …]
270 FakeWaiter fake_waiter; in TEST_F() local273 &fake_waiter), in TEST_F()