Searched refs:PollForCondition (Results 1 – 4 of 4) sorted by relevance
116 EXPECT_TRUE(PollForCondition([&]() { return checkPrivateDnsStatus(mode); })); in expectPrivateDnsStatus()160 ASSERT_TRUE(PollForCondition([&]() { return mObserver.runningThreads == 0; })); in TEST_F()174 ASSERT_TRUE(PollForCondition([&]() { return mObserver.runningThreads == 0; })); in TEST_F()188 ASSERT_TRUE(PollForCondition([&]() { return mObserver.runningThreads == 0; })); in TEST_F()209 ASSERT_TRUE(PollForCondition([&]() { return mObserver.runningThreads == 0; })); in TEST_F()220 ASSERT_TRUE(PollForCondition([&]() { return mObserver.runningThreads == 1; })); in TEST_F()225 ASSERT_TRUE(PollForCondition([&]() { return mObserver.runningThreads == 2; })); in TEST_F()247 ASSERT_TRUE(PollForCondition([&]() { return mObserver.runningThreads == 0; })); in TEST_F()264 ASSERT_TRUE(PollForCondition([&]() { return mObserver.runningThreads == 1; })); in TEST_F()276 ASSERT_TRUE(PollForCondition([&]() { return mObserver.runningThreads == 0; })); in TEST_F()[all …]
143 bool PollForCondition(const std::function<bool()>& condition, std::chrono::milliseconds timeout) { in PollForCondition() function
428 bool PollForCondition(const std::function<bool()>& condition,
889 EXPECT_TRUE(PollForCondition([&]() { return GetNumQueries(dns1, host_name_deferred); })); in TEST_F()908 EXPECT_TRUE(PollForCondition([&]() { return t2_sv_setup_done; })); in TEST_F()5644 EXPECT_TRUE(PollForCondition([&]() { return unresponsiveTls.acceptConnectionsCount() == 1; })); in TEST_F()5720 EXPECT_TRUE(PollForCondition( in TEST_F()5838 EXPECT_TRUE(PollForCondition(condition)); in TEST_F()7510 EXPECT_TRUE(PollForCondition(condition)); in TEST_F()