OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #ifndef CONTENT_PUBLIC_TEST_TEST_LAUNCHER_H_ | 5 #ifndef CONTENT_PUBLIC_TEST_TEST_LAUNCHER_H_ |
6 #define CONTENT_PUBLIC_TEST_TEST_LAUNCHER_H_ | 6 #define CONTENT_PUBLIC_TEST_TEST_LAUNCHER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 | 12 |
13 class CommandLine; | 13 class CommandLine; |
14 | 14 |
15 namespace base { | 15 namespace base { |
16 class FilePath; | 16 class FilePath; |
17 class RunLoop; | 17 class RunLoop; |
18 } | 18 } |
19 | 19 |
20 namespace content { | 20 namespace content { |
21 class ContentMainDelegate; | 21 class ContentMainDelegate; |
22 | 22 |
23 extern const char kEmptyTestName[]; | 23 extern const char kEmptyTestName[]; |
24 extern const char kGTestHelpFlag[]; | |
25 extern const char kHelpFlag[]; | 24 extern const char kHelpFlag[]; |
26 extern const char kLaunchAsBrowser[]; | 25 extern const char kLaunchAsBrowser[]; |
27 extern const char kRunManualTestsFlag[]; | 26 extern const char kRunManualTestsFlag[]; |
28 extern const char kSingleProcessTestsFlag[]; | 27 extern const char kSingleProcessTestsFlag[]; |
29 | 28 |
30 // Flag that causes only the kEmptyTestName test to be run. | 29 // Flag that causes only the kEmptyTestName test to be run. |
31 extern const char kWarmupFlag[]; | 30 extern const char kWarmupFlag[]; |
32 | 31 |
33 class TestLauncherDelegate { | 32 class TestLauncherDelegate { |
34 public: | 33 public: |
(...skipping 11 matching lines...) Expand all Loading... |
46 | 45 |
47 int LaunchTests(TestLauncherDelegate* launcher_delegate, | 46 int LaunchTests(TestLauncherDelegate* launcher_delegate, |
48 int argc, | 47 int argc, |
49 char** argv) WARN_UNUSED_RESULT; | 48 char** argv) WARN_UNUSED_RESULT; |
50 | 49 |
51 TestLauncherDelegate* GetCurrentTestLauncherDelegate(); | 50 TestLauncherDelegate* GetCurrentTestLauncherDelegate(); |
52 | 51 |
53 } // namespace content | 52 } // namespace content |
54 | 53 |
55 #endif // CONTENT_PUBLIC_TEST_TEST_LAUNCHER_H_ | 54 #endif // CONTENT_PUBLIC_TEST_TEST_LAUNCHER_H_ |
OLD | NEW |