| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "components/scheduler/child/scheduler_helper.h" | 5 #include "components/scheduler/child/scheduler_helper.h" |
| 6 | 6 |
| 7 #include "base/callback.h" | 7 #include "base/callback.h" |
| 8 #include "base/test/simple_test_tick_clock.h" | 8 #include "base/test/simple_test_tick_clock.h" |
| 9 #include "cc/test/ordered_simple_task_runner.h" | 9 #include "cc/test/ordered_simple_task_runner.h" |
| 10 #include "components/scheduler/child/nestable_task_runner_for_test.h" | 10 #include "components/scheduler/child/nestable_task_runner_for_test.h" |
| 11 #include "components/scheduler/child/scheduler_message_loop_delegate.h" | 11 #include "components/scheduler/child/scheduler_message_loop_delegate.h" |
| 12 #include "components/scheduler/child/task_queue.h" |
| 12 #include "components/scheduler/child/test_time_source.h" | 13 #include "components/scheduler/child/test_time_source.h" |
| 13 #include "testing/gmock/include/gmock/gmock.h" | 14 #include "testing/gmock/include/gmock/gmock.h" |
| 14 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
| 15 | 16 |
| 16 using testing::_; | 17 using testing::_; |
| 17 using testing::AnyNumber; | 18 using testing::AnyNumber; |
| 18 using testing::Invoke; | 19 using testing::Invoke; |
| 19 using testing::Return; | 20 using testing::Return; |
| 20 | 21 |
| 21 namespace scheduler { | 22 namespace scheduler { |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 | 134 |
| 134 scheduler_helper_->Shutdown(); | 135 scheduler_helper_->Shutdown(); |
| 135 EXPECT_TRUE(scheduler_helper_->IsShutdown()); | 136 EXPECT_TRUE(scheduler_helper_->IsShutdown()); |
| 136 } | 137 } |
| 137 | 138 |
| 138 TEST_F(SchedulerHelperTest, TaskQueueIdToString) { | 139 TEST_F(SchedulerHelperTest, TaskQueueIdToString) { |
| 139 CheckAllTaskQueueIdToString(); | 140 CheckAllTaskQueueIdToString(); |
| 140 } | 141 } |
| 141 | 142 |
| 142 } // namespace scheduler | 143 } // namespace scheduler |
| OLD | NEW |