Home
last modified time | relevance | path

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

/external/openscreen/platform/impl/
Dtask_runner_unittest.cc93 std::string ran_tasks = ""; in TEST() local
94 runner.PostTask([&ran_tasks] { ran_tasks += "1"; }); in TEST()
98 EXPECT_EQ(ran_tasks, "1"); in TEST()
107 std::string ran_tasks = ""; in TEST() local
110 const auto task_one = [&ran_tasks] { ran_tasks += "1"; }; in TEST()
113 const auto task_two = [&ran_tasks] { ran_tasks += "2"; }; in TEST()
116 EXPECT_EQ(ran_tasks, ""); in TEST()
118 WaitUntilCondition([&ran_tasks] { return ran_tasks == "1"; }); in TEST()
119 EXPECT_EQ(ran_tasks, "1"); in TEST()
122 WaitUntilCondition([&ran_tasks] { return ran_tasks == "12"; }); in TEST()
[all …]