Home
last modified time | relevance | path

Searched refs:FakeMessageLoop (Results 1 – 6 of 6) sorted by relevance

/external/libbrillo/brillo/message_loops/
Dmock_message_loop.h38 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_;
Dfake_message_loop.cc12 FakeMessageLoop::FakeMessageLoop(base::SimpleTestClock* clock) in FakeMessageLoop() function in brillo::FakeMessageLoop
16 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()
Dfake_message_loop.h32 class BRILLO_EXPORT FakeMessageLoop : public MessageLoop {
36 explicit FakeMessageLoop(base::SimpleTestClock* clock);
37 ~FakeMessageLoop() override = default;
74 DISALLOW_COPY_AND_ASSIGN(FakeMessageLoop);
Dfake_message_loop_test.cc30 loop_.reset(new FakeMessageLoop(nullptr)); in SetUp()
38 std::unique_ptr<FakeMessageLoop> loop_;
68 loop_.reset(new FakeMessageLoop(&clock_)); in TEST_F()
/external/libbrillo/brillo/streams/
Dstream_utils_test.cc164 FakeMessageLoop fake_loop_{nullptr};
Dstream_test.cc176 FakeMessageLoop fake_loop_{nullptr}; in TEST()