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 #ifndef BASE_TEST_LAUNCHER_TEST_LAUNCHER_H_ | 5 #ifndef BASE_TEST_LAUNCHER_TEST_LAUNCHER_H_ |
6 #define BASE_TEST_LAUNCHER_TEST_LAUNCHER_H_ | 6 #define BASE_TEST_LAUNCHER_TEST_LAUNCHER_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 13 matching lines...) Expand all Loading... |
24 | 24 |
25 namespace base { | 25 namespace base { |
26 | 26 |
27 class CommandLine; | 27 class CommandLine; |
28 struct LaunchOptions; | 28 struct LaunchOptions; |
29 class SequencedWorkerPoolOwner; | 29 class SequencedWorkerPoolOwner; |
30 class TestLauncher; | 30 class TestLauncher; |
31 | 31 |
32 // Constants for GTest command-line flags. | 32 // Constants for GTest command-line flags. |
33 extern const char kGTestFilterFlag[]; | 33 extern const char kGTestFilterFlag[]; |
| 34 extern const char kGTestFlagfileFlag[]; |
34 extern const char kGTestHelpFlag[]; | 35 extern const char kGTestHelpFlag[]; |
35 extern const char kGTestListTestsFlag[]; | 36 extern const char kGTestListTestsFlag[]; |
36 extern const char kGTestRepeatFlag[]; | 37 extern const char kGTestRepeatFlag[]; |
37 extern const char kGTestRunDisabledTestsFlag[]; | 38 extern const char kGTestRunDisabledTestsFlag[]; |
38 extern const char kGTestOutputFlag[]; | 39 extern const char kGTestOutputFlag[]; |
39 | 40 |
40 // Interface for use with LaunchTests that abstracts away exact details | 41 // Interface for use with LaunchTests that abstracts away exact details |
41 // which tests and how are run. | 42 // which tests and how are run. |
42 class TestLauncherDelegate { | 43 class TestLauncherDelegate { |
43 public: | 44 public: |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 DISALLOW_COPY_AND_ASSIGN(TestLauncher); | 206 DISALLOW_COPY_AND_ASSIGN(TestLauncher); |
206 }; | 207 }; |
207 | 208 |
208 // Extract part from |full_output| that applies to |result|. | 209 // Extract part from |full_output| that applies to |result|. |
209 std::string GetTestOutputSnippet(const TestResult& result, | 210 std::string GetTestOutputSnippet(const TestResult& result, |
210 const std::string& full_output); | 211 const std::string& full_output); |
211 | 212 |
212 } // namespace base | 213 } // namespace base |
213 | 214 |
214 #endif // BASE_TEST_LAUNCHER_TEST_LAUNCHER_H_ | 215 #endif // BASE_TEST_LAUNCHER_TEST_LAUNCHER_H_ |
OLD | NEW |