| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "cc/base/worker_pool.h" | 5 #include "cc/resources/worker_pool.h" |
| 6 | 6 |
| 7 #include "base/time.h" | 7 #include "base/time.h" |
| 8 #include "cc/base/completion_event.h" | 8 #include "cc/base/completion_event.h" |
| 9 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
| 10 | 10 |
| 11 namespace cc { | 11 namespace cc { |
| 12 | 12 |
| 13 namespace { | 13 namespace { |
| 14 | 14 |
| 15 static const int kTimeLimitMillis = 2000; | 15 static const int kTimeLimitMillis = 2000; |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 RunExecuteTasksTest("execute_tasks_2_10", 2, 10); | 235 RunExecuteTasksTest("execute_tasks_2_10", 2, 10); |
| 236 RunExecuteTasksTest("execute_tasks_5_5", 5, 5); | 236 RunExecuteTasksTest("execute_tasks_5_5", 5, 5); |
| 237 RunExecuteTasksTest("execute_tasks_10_2", 10, 2); | 237 RunExecuteTasksTest("execute_tasks_10_2", 10, 2); |
| 238 RunExecuteTasksTest("execute_tasks_1000_1", 1000, 1); | 238 RunExecuteTasksTest("execute_tasks_1000_1", 1000, 1); |
| 239 RunExecuteTasksTest("execute_tasks_10_1", 10, 1); | 239 RunExecuteTasksTest("execute_tasks_10_1", 10, 1); |
| 240 } | 240 } |
| 241 | 241 |
| 242 } // namespace | 242 } // namespace |
| 243 | 243 |
| 244 } // namespace cc | 244 } // namespace cc |
| OLD | NEW |