| 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 "base/command_line.h" | 5 #include "base/command_line.h" |
| 6 #include "base/macros.h" | 6 #include "base/macros.h" |
| 7 #include "base/sys_info.h" | 7 #include "base/sys_info.h" |
| 8 #include "chromecast/shell/app/cast_main_delegate.h" | 8 #include "chromecast/app/cast_main_delegate.h" |
| 9 #include "content/public/common/content_switches.h" | 9 #include "content/public/common/content_switches.h" |
| 10 #include "content/public/test/content_test_suite_base.h" | 10 #include "content/public/test/content_test_suite_base.h" |
| 11 #include "content/public/test/test_launcher.h" | 11 #include "content/public/test/test_launcher.h" |
| 12 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" |
| 13 | 13 |
| 14 namespace chromecast { | 14 namespace chromecast { |
| 15 namespace shell { | 15 namespace shell { |
| 16 | 16 |
| 17 namespace { | 17 namespace { |
| 18 | 18 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 } // namespace | 59 } // namespace |
| 60 | 60 |
| 61 } // namespace shell | 61 } // namespace shell |
| 62 } // namespace chromecast | 62 } // namespace chromecast |
| 63 | 63 |
| 64 int main(int argc, char** argv) { | 64 int main(int argc, char** argv) { |
| 65 int default_jobs = std::max(1, base::SysInfo::NumberOfProcessors() / 2); | 65 int default_jobs = std::max(1, base::SysInfo::NumberOfProcessors() / 2); |
| 66 chromecast::shell::ChromecastTestLauncherDelegate launcher_delegate; | 66 chromecast::shell::ChromecastTestLauncherDelegate launcher_delegate; |
| 67 return LaunchTests(&launcher_delegate, default_jobs, argc, argv); | 67 return LaunchTests(&launcher_delegate, default_jobs, argc, argv); |
| 68 } | 68 } |
| OLD | NEW |