OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "content/public/test/test_launcher.h" | 5 #include "content/public/test/test_launcher.h" |
6 | 6 |
7 #include <stack> | 7 #include <stack> |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/file_util.h" | 10 #include "base/file_util.h" |
11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
12 #include "base/logging.h" | 12 #include "base/logging.h" |
13 #include "base/memory/linked_ptr.h" | 13 #include "base/memory/linked_ptr.h" |
14 #include "base/process_util.h" | 14 #include "base/process_util.h" |
15 #include "base/run_loop.h" | 15 #include "base/run_loop.h" |
16 #include "base/string_util.h" | 16 #include "base/strings/string_util.h" |
17 #include "base/test/test_file_util.h" | 17 #include "base/test/test_file_util.h" |
18 #include "chrome/app/chrome_main_delegate.h" | 18 #include "chrome/app/chrome_main_delegate.h" |
19 #include "chrome/common/chrome_constants.h" | 19 #include "chrome/common/chrome_constants.h" |
20 #include "chrome/common/chrome_switches.h" | 20 #include "chrome/common/chrome_switches.h" |
21 #include "chrome/common/chrome_switches.h" | 21 #include "chrome/common/chrome_switches.h" |
22 #include "chrome/test/base/chrome_test_suite.h" | 22 #include "chrome/test/base/chrome_test_suite.h" |
23 #include "content/public/app/content_main.h" | 23 #include "content/public/app/content_main.h" |
24 #include "content/public/browser/browser_thread.h" | 24 #include "content/public/browser/browser_thread.h" |
25 #include "content/public/test/test_utils.h" | 25 #include "content/public/test/test_utils.h" |
26 | 26 |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 #elif defined(USE_AURA) | 163 #elif defined(USE_AURA) |
164 // TODO(win_ash): when running interactive_ui_tests for Win Ash, use above. | 164 // TODO(win_ash): when running interactive_ui_tests for Win Ash, use above. |
165 ui_controls::InstallUIControlsAura(aura::test::CreateUIControlsAura(NULL)); | 165 ui_controls::InstallUIControlsAura(aura::test::CreateUIControlsAura(NULL)); |
166 #endif | 166 #endif |
167 | 167 |
168 #endif | 168 #endif |
169 | 169 |
170 ChromeTestLauncherDelegate launcher_delegate; | 170 ChromeTestLauncherDelegate launcher_delegate; |
171 return content::LaunchTests(&launcher_delegate, argc, argv); | 171 return content::LaunchTests(&launcher_delegate, argc, argv); |
172 } | 172 } |
OLD | NEW |