Home
last modified time | relevance | path

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

/external/libchrome/base/threading/
Dpost_task_and_reply_impl_unittest.cc112 EXPECT_TRUE(post_runner_->HasPendingTask()); in PostTaskAndReplyToMockObject()
113 EXPECT_FALSE(reply_runner_->HasPendingTask()); in PostTaskAndReplyToMockObject()
144 EXPECT_FALSE(post_runner_->HasPendingTask()); in TEST_F()
145 EXPECT_TRUE(reply_runner_->HasPendingTask()); in TEST_F()
155 EXPECT_FALSE(post_runner_->HasPendingTask()); in TEST_F()
156 EXPECT_FALSE(reply_runner_->HasPendingTask()); in TEST_F()
165 EXPECT_FALSE(post_runner_->HasPendingTask()); in TEST_F()
166 EXPECT_TRUE(reply_runner_->HasPendingTask()); in TEST_F()
187 EXPECT_FALSE(post_runner_->HasPendingTask()); in TEST_F()
188 EXPECT_TRUE(reply_runner_->HasPendingTask()); in TEST_F()
/external/cronet/base/threading/
Dpost_task_and_reply_impl_unittest.cc137 EXPECT_TRUE(post_runner_->HasPendingTask()); in ExpectPostTaskAndReplyToMockObjectSucceeds()
138 EXPECT_FALSE(reply_runner_->HasPendingTask()); in ExpectPostTaskAndReplyToMockObjectSucceeds()
166 EXPECT_FALSE(post_runner_->HasPendingTask()); in TEST_F()
167 EXPECT_TRUE(reply_runner_->HasPendingTask()); in TEST_F()
177 EXPECT_FALSE(post_runner_->HasPendingTask()); in TEST_F()
178 EXPECT_FALSE(reply_runner_->HasPendingTask()); in TEST_F()
187 EXPECT_FALSE(post_runner_->HasPendingTask()); in TEST_F()
188 EXPECT_TRUE(reply_runner_->HasPendingTask()); in TEST_F()
209 EXPECT_FALSE(post_runner_->HasPendingTask()); in TEST_F()
210 EXPECT_TRUE(reply_runner_->HasPendingTask()); in TEST_F()
/external/cronet/base/task/
Dsequenced_task_runner_unittest.cc122 EXPECT_TRUE(task_runner->HasPendingTask()); in TEST_F()
128 EXPECT_FALSE(task_runner->HasPendingTask()); in TEST_F()
141 EXPECT_TRUE(task_runner->HasPendingTask()); in TEST_F()
147 EXPECT_FALSE(task_runner->HasPendingTask()); in TEST_F()
160 EXPECT_TRUE(task_runner->HasPendingTask()); in TEST_F()
166 EXPECT_FALSE(task_runner->HasPendingTask()); in TEST_F()
/external/libchrome/base/test/
Dtest_mock_time_task_runner_unittest.cc231 EXPECT_TRUE(task_runner->HasPendingTask()); in TEST()
233 EXPECT_FALSE(task_runner->HasPendingTask()); in TEST()
241 EXPECT_TRUE(task_runner->HasPendingTask()); in TEST()
245 EXPECT_FALSE(task_runner->HasPendingTask()); in TEST()
Dtest_simple_task_runner.cc56 bool TestSimpleTaskRunner::HasPendingTask() const { in HasPendingTask() function in base::TestSimpleTaskRunner
99 while (HasPendingTask()) in RunUntilIdle()
Dtest_simple_task_runner.h56 bool HasPendingTask() const;
Dtest_mock_time_task_runner.h180 bool HasPendingTask();
Dscoped_task_environment.cc177 return mock_time_task_runner_->HasPendingTask(); in MainThreadHasPendingTask()
Dtest_mock_time_task_runner.cc315 bool TestMockTimeTaskRunner::HasPendingTask() { in HasPendingTask() function in base::TestMockTimeTaskRunner
/external/cronet/base/test/
Dtest_simple_task_runner.cc57 bool TestSimpleTaskRunner::HasPendingTask() const { in HasPendingTask() function in base::TestSimpleTaskRunner
101 while (HasPendingTask()) in RunUntilIdle()
Dtest_mock_time_task_runner_unittest.cc240 EXPECT_TRUE(task_runner->HasPendingTask()); in TEST()
242 EXPECT_FALSE(task_runner->HasPendingTask()); in TEST()
249 EXPECT_TRUE(task_runner->HasPendingTask()); in TEST()
253 EXPECT_FALSE(task_runner->HasPendingTask()); in TEST()
Dtest_simple_task_runner.h66 bool HasPendingTask() const;
Dtest_mock_time_task_runner.h203 bool HasPendingTask();
Dtest_mock_time_task_runner.cc282 bool TestMockTimeTaskRunner::HasPendingTask() { in HasPendingTask() function in base::TestMockTimeTaskRunner
/external/libchrome/base/task/sequence_manager/
Dsequence_manager_impl_unittest.cc600 EXPECT_FALSE(test_task_runner_->HasPendingTask()); in TEST_P()
607 EXPECT_TRUE(test_task_runner_->HasPendingTask()); in TEST_P()
623 EXPECT_FALSE(test_task_runner_->HasPendingTask()); in TEST_P()
637 EXPECT_FALSE(test_task_runner_->HasPendingTask()); in TEST_P()
648 EXPECT_FALSE(test_task_runner_->HasPendingTask()); in TEST_P()
665 EXPECT_TRUE(test_task_runner_->HasPendingTask()); in TEST_P()
712 EXPECT_TRUE(test_task_runner_->HasPendingTask()); in TEST_P()
2780 ASSERT_TRUE(test_task_runner_->HasPendingTask()); in TEST_P()
2787 EXPECT_FALSE(test_task_runner_->HasPendingTask()); in TEST_P()
2790 ASSERT_TRUE(test_task_runner_->HasPendingTask()); in TEST_P()
[all …]
/external/libchrome/components/policy/core/common/
Dpolicy_statistics_collector_unittest.cc116 if (!task_runner_->HasPendingTask()) { in GetFirstDelay()
/external/cronet/net/http/
Dbroken_alternative_services_unittest.cc339 EXPECT_FALSE(test_task_runner_->HasPendingTask()); in TEST_F()
374 EXPECT_FALSE(test_task_runner_->HasPendingTask()); in TEST_F()
1115 EXPECT_FALSE(test_task_runner_->HasPendingTask()); in TEST_F()
1128 EXPECT_TRUE(test_task_runner_->HasPendingTask()); in TEST_F()
/external/cronet/base/win/
Dregistry_unittest.cc424 ASSERT_FALSE(test_task_runner->HasPendingTask()); in TYPED_TEST()
/external/cronet/base/timer/
Dtimer_unittest.cc252 EXPECT_TRUE(task_runner->HasPendingTask()); in TEST()
/external/cronet/net/dns/
Dhost_resolver_manager_unittest.cc3608 ASSERT_TRUE(test_task_runner->HasPendingTask()); in TEST_F()
3653 ASSERT_TRUE(test_task_runner->HasPendingTask()); in TEST_F()
3695 ASSERT_TRUE(test_task_runner->HasPendingTask()); in TEST_F()