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

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

Issue 23892020: GTTF: Make --help and --gtest_help behave correctly with --brave-new-test-launcher (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: flaky upload Created 7 years, 3 months 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | base/test/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_TEST_LAUNCHER_H_ 5 #ifndef BASE_TEST_TEST_LAUNCHER_H_
6 #define BASE_TEST_TEST_LAUNCHER_H_ 6 #define BASE_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/callback_forward.h" 11 #include "base/callback_forward.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/time/time.h" 13 #include "base/time/time.h"
14 14
15 class CommandLine; 15 class CommandLine;
16 16
17 namespace testing { 17 namespace testing {
18 class TestCase; 18 class TestCase;
19 class TestInfo; 19 class TestInfo;
20 } 20 }
21 21
22 namespace base { 22 namespace base {
23 23
24 struct LaunchOptions; 24 struct LaunchOptions;
25 25
26 // Constants for GTest command-line flags. 26 // Constants for GTest command-line flags.
27 extern const char kGTestFilterFlag[]; 27 extern const char kGTestFilterFlag[];
28 extern const char kGTestHelpFlag[];
28 extern const char kGTestListTestsFlag[]; 29 extern const char kGTestListTestsFlag[];
29 extern const char kGTestRepeatFlag[]; 30 extern const char kGTestRepeatFlag[];
30 extern const char kGTestRunDisabledTestsFlag[]; 31 extern const char kGTestRunDisabledTestsFlag[];
31 extern const char kGTestOutputFlag[]; 32 extern const char kGTestOutputFlag[];
32 33
33 // Structure containing result of a single test. 34 // Structure containing result of a single test.
34 struct TestResult { 35 struct TestResult {
35 enum Status { 36 enum Status {
36 TEST_UNKNOWN, // Status not set. 37 TEST_UNKNOWN, // Status not set.
37 TEST_SUCCESS, // Test passed. 38 TEST_SUCCESS, // Test passed.
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 115
115 // Launches GTest-based tests from the current executable 116 // Launches GTest-based tests from the current executable
116 // using |launcher_delegate|. 117 // using |launcher_delegate|.
117 int LaunchTests(TestLauncherDelegate* launcher_delegate, 118 int LaunchTests(TestLauncherDelegate* launcher_delegate,
118 int argc, 119 int argc,
119 char** argv) WARN_UNUSED_RESULT; 120 char** argv) WARN_UNUSED_RESULT;
120 121
121 } // namespace base 122 } // namespace base
122 123
123 #endif // BASE_TEST_TEST_LAUNCHER_H_ 124 #endif // BASE_TEST_TEST_LAUNCHER_H_
OLDNEW
« no previous file with comments | « no previous file | base/test/test_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698