Lines Matching refs:loop
363 brillo::FakeMessageLoop loop(nullptr); in TestUpdateCheck() local
364 loop.SetAsCurrent(); in TestUpdateCheck()
406 loop.PostTask(base::Bind( in TestUpdateCheck()
409 loop.Run(); in TestUpdateCheck()
410 EXPECT_FALSE(loop.PendingTasks()); in TestUpdateCheck()
425 brillo::FakeMessageLoop loop(nullptr); in TestEvent() local
426 loop.SetAsCurrent(); in TestEvent()
441 loop.PostTask(base::Bind( in TestEvent()
444 loop.Run(); in TestEvent()
445 EXPECT_FALSE(loop.PendingTasks()); in TestEvent()
696 brillo::FakeMessageLoop loop(nullptr); in TEST_F() local
697 loop.SetAsCurrent(); in TEST_F()
706 loop.PostTask(base::Bind( in TEST_F()
709 loop.Run(); in TEST_F()
710 EXPECT_FALSE(loop.PendingTasks()); in TEST_F()
1146 brillo::FakeMessageLoop loop(nullptr); in TEST_F() local
1147 loop.SetAsCurrent(); in TEST_F()
1162 loop.PostTask(base::Bind( in TEST_F()
1165 loop.Run(); in TEST_F()
1166 EXPECT_FALSE(loop.PendingTasks()); in TEST_F()
1320 brillo::FakeMessageLoop loop(nullptr); in TEST_F() local
1321 loop.SetAsCurrent(); in TEST_F()
1335 loop.PostTask(base::Bind(&TerminateTransferTestStarter, &processor)); in TEST_F()
1336 loop.Run(); in TEST_F()
1337 EXPECT_FALSE(loop.PendingTasks()); in TEST_F()