Searched refs:FakeMessageLoop (Results 1 – 6 of 6) sorted by relevance
38 static_cast<TaskId(FakeMessageLoop::*)( in MockMessageLoop()42 &FakeMessageLoop::PostDelayedTask))); in MockMessageLoop()47 static_cast<TaskId(FakeMessageLoop::*)( in MockMessageLoop()50 &FakeMessageLoop::WatchFileDescriptor))); in MockMessageLoop()53 &FakeMessageLoop::CancelTask)); in MockMessageLoop()56 &FakeMessageLoop::RunOnce)); in MockMessageLoop()77 FakeMessageLoop* fake_loop() { in fake_loop()82 FakeMessageLoop fake_loop_;
12 FakeMessageLoop::FakeMessageLoop(base::SimpleTestClock* clock) in FakeMessageLoop() function in brillo::FakeMessageLoop16 MessageLoop::TaskId FakeMessageLoop::PostDelayedTask( in PostDelayedTask()36 MessageLoop::TaskId FakeMessageLoop::WatchFileDescriptor( in WatchFileDescriptor()50 bool FakeMessageLoop::CancelTask(TaskId task_id) { in CancelTask()58 bool FakeMessageLoop::RunOnce(bool may_block) { in RunOnce()123 void FakeMessageLoop::SetFileDescriptorReadiness(int fd, in SetFileDescriptorReadiness()132 bool FakeMessageLoop::PendingTasks() { in PendingTasks()
32 class BRILLO_EXPORT FakeMessageLoop : public MessageLoop {36 explicit FakeMessageLoop(base::SimpleTestClock* clock);37 ~FakeMessageLoop() override = default;94 DISALLOW_COPY_AND_ASSIGN(FakeMessageLoop);
30 loop_.reset(new FakeMessageLoop(nullptr)); in SetUp()38 std::unique_ptr<FakeMessageLoop> loop_;64 loop_.reset(new FakeMessageLoop(&clock_)); in TEST_F()
162 FakeMessageLoop fake_loop_{nullptr};
157 FakeMessageLoop fake_loop_{nullptr}; in TEST()