Home
last modified time | relevance | path

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

/system/connectivity/wificond/tests/
Dlooper_backed_event_loop_unittest.cpp86 bool task_executed = false; in TEST_F() local
87 event_loop_->PostTask([this, &task_executed]() mutable { in TEST_F()
88 task_executed = true; event_loop_->TriggerExit();}); in TEST_F()
89 EXPECT_FALSE(task_executed); in TEST_F()
91 EXPECT_TRUE(task_executed); in TEST_F()
96 bool task_executed = false; in TEST_F() local
97 event_loop_->PostDelayedTask([this, &task_executed]() mutable { in TEST_F()
98 task_executed = true; event_loop_->TriggerExit();}, 500); in TEST_F()
99 EXPECT_FALSE(task_executed); in TEST_F()
104 EXPECT_TRUE(task_executed); in TEST_F()