Searched refs:ran_tasks (Results 1 – 1 of 1) sorted by relevance
93 std::string ran_tasks = ""; in TEST() local94 runner.PostTask([&ran_tasks] { ran_tasks += "1"; }); in TEST()98 EXPECT_EQ(ran_tasks, "1"); in TEST()107 std::string ran_tasks = ""; in TEST() local110 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 …]