Searched refs:PollForCondition (Results 1 – 4 of 4) sorted by relevance
105 EXPECT_TRUE(PollForCondition([&]() { return checkPrivateDnsStatus(mode); })); in expectPrivateDnsStatus()149 ASSERT_TRUE(PollForCondition([&]() { return mObserver.runningThreads == 0; })); in TEST_F()163 ASSERT_TRUE(PollForCondition([&]() { return mObserver.runningThreads == 0; })); in TEST_F()177 ASSERT_TRUE(PollForCondition([&]() { return mObserver.runningThreads == 0; })); in TEST_F()198 ASSERT_TRUE(PollForCondition([&]() { return mObserver.runningThreads == 0; })); in TEST_F()209 ASSERT_TRUE(PollForCondition([&]() { return mObserver.runningThreads == 1; })); in TEST_F()214 ASSERT_TRUE(PollForCondition([&]() { return mObserver.runningThreads == 2; })); in TEST_F()236 ASSERT_TRUE(PollForCondition([&]() { return mObserver.runningThreads == 0; })); in TEST_F()253 ASSERT_TRUE(PollForCondition([&]() { return mObserver.runningThreads == 1; })); in TEST_F()265 ASSERT_TRUE(PollForCondition([&]() { return mObserver.runningThreads == 0; })); in TEST_F()[all …]
197 bool PollForCondition(const std::function<bool()>& condition,
140 bool PollForCondition(const std::function<bool()>& condition, std::chrono::milliseconds timeout) { in PollForCondition() function
5454 EXPECT_TRUE(PollForCondition(condition)); in TEST_F()6458 EXPECT_TRUE(PollForCondition(condition)); in TEST_F()