Home
last modified time | relevance | path

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

/external/chromium_org/extensions/common/
Done_shot_event_unittest.cc32 EXPECT_EQ(0U, runner->GetPendingTasks().size()); in TEST()
34 ASSERT_EQ(2U, runner->GetPendingTasks().size()); in TEST()
35 EXPECT_NE(runner->GetPendingTasks()[0].location.line_number(), in TEST()
36 runner->GetPendingTasks()[1].location.line_number()) in TEST()
51 EXPECT_EQ(1U, runner->GetPendingTasks().size()); in TEST()
68 EXPECT_EQ(1U, runner->GetPendingTasks().size()); in TEST()
98 EXPECT_EQ(1U, runner->GetPendingTasks().size()); in TEST()
102 EXPECT_EQ(1U, runner->GetPendingTasks().size()); in TEST()
106 EXPECT_EQ(0U, runner->GetPendingTasks().size()); in TEST()
/external/chromium_org/components/policy/core/common/cloud/
Drate_limiter_unittest.cc53 EXPECT_TRUE(task_runner_->GetPendingTasks().empty()); in TEST_F()
61 EXPECT_FALSE(task_runner_->GetPendingTasks().empty()); in TEST_F()
69 EXPECT_TRUE(task_runner_->GetPendingTasks().empty()); in TEST_F()
80 EXPECT_TRUE(task_runner_->GetPendingTasks().empty()); in TEST_F()
94 EXPECT_TRUE(task_runner_->GetPendingTasks().empty()); in TEST_F()
103 EXPECT_FALSE(task_runner_->GetPendingTasks().empty()); in TEST_F()
108 EXPECT_FALSE(task_runner_->GetPendingTasks().empty()); in TEST_F()
117 EXPECT_TRUE(task_runner_->GetPendingTasks().empty()); in TEST_F()
Dcloud_policy_refresh_scheduler_unittest.cc56 EXPECT_EQ(0u, task_runner_->GetPendingTasks().size()); in CreateRefreshScheduler()
70 task_runner_->GetPendingTasks(); in GetLastDelay()
85 EXPECT_FALSE(task_runner_->GetPendingTasks().empty()); in CheckTimingWithAge()
151 EXPECT_FALSE(task_runner_->GetPendingTasks().empty()); in TEST_F()
167 EXPECT_FALSE(task_runner_->GetPendingTasks().empty()); in TEST_F()
193 EXPECT_TRUE(task_runner_->GetPendingTasks().empty()); in TEST_F()
218 EXPECT_EQ(2u, task_runner_->GetPendingTasks().size()); in TEST_F()
222 EXPECT_EQ(3u, task_runner_->GetPendingTasks().size()); in TEST_F()
235 EXPECT_EQ(1u, task_runner_->GetPendingTasks().size()); in TEST_F()
248 EXPECT_EQ(2u, task_runner_->GetPendingTasks().size()); in TEST_F()
[all …]
Dexternal_policy_data_updater_unittest.cc156 EXPECT_TRUE(backend_task_runner_->GetPendingTasks().empty()); in TEST_F()
192 EXPECT_EQ(1u, backend_task_runner_->GetPendingTasks().size()); in TEST_F()
227 EXPECT_EQ(1u, backend_task_runner_->GetPendingTasks().size()); in TEST_F()
261 EXPECT_EQ(1u, backend_task_runner_->GetPendingTasks().size()); in TEST_F()
290 EXPECT_EQ(1u, backend_task_runner_->GetPendingTasks().size()); in TEST_F()
295 EXPECT_TRUE(backend_task_runner_->GetPendingTasks().empty()); in TEST_F()
315 EXPECT_TRUE(backend_task_runner_->GetPendingTasks().empty()); in TEST_F()
348 EXPECT_EQ(1u, backend_task_runner_->GetPendingTasks().size()); in TEST_F()
353 backend_task_runner_->GetPendingTasks().front(); in TEST_F()
374 EXPECT_TRUE(backend_task_runner_->GetPendingTasks().empty()); in TEST_F()
[all …]
/external/chromium_org/components/policy/core/common/
Dpolicy_statistics_collector_unittest.cc114 if (task_runner_->GetPendingTasks().empty()) { in GetFirstDelay()
118 return task_runner_->GetPendingTasks().front().delay; in GetFirstDelay()
145 EXPECT_EQ(1u, task_runner_->GetPendingTasks().size()); in TEST_F()
160 EXPECT_EQ(1u, task_runner_->GetPendingTasks().size()); in TEST_F()
171 EXPECT_EQ(1u, task_runner_->GetPendingTasks().size()); in TEST_F()
188 EXPECT_EQ(1u, task_runner_->GetPendingTasks().size()); in TEST_F()
/external/chromium_org/device/bluetooth/
Dbluetooth_adapter_win_unittest.cc213 EXPECT_TRUE(ui_task_runner_->GetPendingTasks().empty()); in TEST_F()
214 EXPECT_EQ(1, bluetooth_task_runner_->GetPendingTasks().size()); in TEST_F()
246 EXPECT_EQ(1, bluetooth_task_runner_->GetPendingTasks().size()); in TEST_F()
248 EXPECT_TRUE(ui_task_runner_->GetPendingTasks().empty()); in TEST_F()
293 EXPECT_TRUE(bluetooth_task_runner_->GetPendingTasks().empty()); in TEST_F()
294 EXPECT_TRUE(ui_task_runner_->GetPendingTasks().empty()); in TEST_F()
338 EXPECT_TRUE(bluetooth_task_runner_->GetPendingTasks().empty()); in TEST_F()
356 EXPECT_TRUE(bluetooth_task_runner_->GetPendingTasks().empty()); in TEST_F()
364 EXPECT_EQ(1, bluetooth_task_runner_->GetPendingTasks().size()); in TEST_F()
390 EXPECT_TRUE(bluetooth_task_runner_->GetPendingTasks().empty()); in TEST_F()
[all …]
Dbluetooth_task_manager_win_unittest.cc92 EXPECT_EQ(1, bluetooth_task_runner_->GetPendingTasks().size()); in TEST_F()
99 bluetooth_task_runner_->GetPendingTasks().size()); in TEST_F()
124 EXPECT_EQ(1, bluetooth_task_runner_->GetPendingTasks().size()); in TEST_F()
126 EXPECT_TRUE(ui_task_runner_->GetPendingTasks().size() >= 1); in TEST_F()
Dbluetooth_adapter_mac_unittest.mm29 EXPECT_FALSE(ui_task_runner_->GetPendingTasks().empty());
/external/chromium_org/chrome/browser/notifications/
Dextension_welcome_notification_unittest.cc489 EXPECT_TRUE(task_runner()->GetPendingTasks().empty()); in TEST_F()
497 EXPECT_EQ(task_runner()->GetPendingTasks().size(), 1U); in TEST_F()
513 EXPECT_TRUE(task_runner()->GetPendingTasks().empty()); in TEST_F()
535 EXPECT_TRUE(task_runner()->GetPendingTasks().empty()); in TEST_F()
543 EXPECT_TRUE(task_runner()->GetPendingTasks().empty()); in TEST_F()
/external/chromium_org/base/test/
Dtest_simple_task_runner.h60 const std::deque<TestPendingTask>& GetPendingTasks() const;
Dtest_simple_task_runner.cc45 TestSimpleTaskRunner::GetPendingTasks() const { in GetPendingTasks() function in base::TestSimpleTaskRunner
/external/chromium_org/cc/base/
Ddelayed_unique_notifier_unittest.cc48 std::deque<base::TestPendingTask> tasks = task_runner_->GetPendingTasks(); in TakePendingTasks()
/external/chromium_org/base/task/
Dcancelable_task_tracker_unittest.cc117 EXPECT_EQ(1U, test_task_runner->GetPendingTasks().size()); in TEST_F()
/external/chromium_org/chrome/browser/policy/cloud/
Dcloud_policy_invalidator_unittest.cc423 if (task_runner_->GetPendingTasks().empty()) in CheckPolicyRefreshed()
425 base::TimeDelta actual_delay = task_runner_->GetPendingTasks().back().delay; in CheckPolicyRefreshed()