Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(800)

Side by Side Diff: base/test/launcher/test_launcher.h

Issue 1430633002: Use --gtest_flagfile for --gtest_filter in unit test launcher (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | base/test/launcher/test_launcher.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | base/test/launcher/test_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698