Searched refs:FakeMessageLoop (Results 1 – 6 of 6) sorted by relevance
38 static_cast<TaskId(FakeMessageLoop::*)( in MockMessageLoop()42 &FakeMessageLoop::PostDelayedTask))); in MockMessageLoop()45 &FakeMessageLoop::CancelTask)); in MockMessageLoop()48 &FakeMessageLoop::RunOnce)); in MockMessageLoop()62 FakeMessageLoop* fake_loop() { in fake_loop()67 FakeMessageLoop fake_loop_;
12 FakeMessageLoop::FakeMessageLoop(base::SimpleTestClock* clock) in FakeMessageLoop() function in brillo::FakeMessageLoop16 MessageLoop::TaskId FakeMessageLoop::PostDelayedTask( in PostDelayedTask()36 bool FakeMessageLoop::CancelTask(TaskId task_id) { in CancelTask()44 bool FakeMessageLoop::RunOnce(bool may_block) { in RunOnce()79 bool FakeMessageLoop::PendingTasks() { in PendingTasks()
32 class BRILLO_EXPORT FakeMessageLoop : public MessageLoop {36 explicit FakeMessageLoop(base::SimpleTestClock* clock);37 ~FakeMessageLoop() override = default;74 DISALLOW_COPY_AND_ASSIGN(FakeMessageLoop);
30 loop_.reset(new FakeMessageLoop(nullptr)); in SetUp()38 std::unique_ptr<FakeMessageLoop> loop_;68 loop_.reset(new FakeMessageLoop(&clock_)); in TEST_F()
164 FakeMessageLoop fake_loop_{nullptr};
176 FakeMessageLoop fake_loop_{nullptr}; in TEST()