| 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/app/cast_main_delegate.h" | 8 #include "chromecast/app/cast_main_delegate.h" |
| 9 #include "chromecast/common/chromecast_switches.h" | 9 #include "chromecast/base/chromecast_switches.h" |
| 10 #include "content/public/common/content_switches.h" | 10 #include "content/public/common/content_switches.h" |
| 11 #include "content/public/test/content_test_suite_base.h" | 11 #include "content/public/test/content_test_suite_base.h" |
| 12 #include "content/public/test/test_launcher.h" | 12 #include "content/public/test/test_launcher.h" |
| 13 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
| 14 | 14 |
| 15 namespace chromecast { | 15 namespace chromecast { |
| 16 namespace shell { | 16 namespace shell { |
| 17 | 17 |
| 18 namespace { | 18 namespace { |
| 19 | 19 |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 } // namespace | 67 } // namespace |
| 68 | 68 |
| 69 } // namespace shell | 69 } // namespace shell |
| 70 } // namespace chromecast | 70 } // namespace chromecast |
| 71 | 71 |
| 72 int main(int argc, char** argv) { | 72 int main(int argc, char** argv) { |
| 73 int default_jobs = std::max(1, base::SysInfo::NumberOfProcessors() / 2); | 73 int default_jobs = std::max(1, base::SysInfo::NumberOfProcessors() / 2); |
| 74 chromecast::shell::ChromecastTestLauncherDelegate launcher_delegate; | 74 chromecast::shell::ChromecastTestLauncherDelegate launcher_delegate; |
| 75 return LaunchTests(&launcher_delegate, default_jobs, argc, argv); | 75 return LaunchTests(&launcher_delegate, default_jobs, argc, argv); |
| 76 } | 76 } |
| OLD | NEW |