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

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

Issue 117113003: GTTF: add an option to pass test filter using a file (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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/launcher/test_launcher.cc » ('j') | base/test/launcher/test_launcher.cc » ('J')
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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 ThreadChecker thread_checker_; 143 ThreadChecker thread_checker_;
144 144
145 TestLauncherDelegate* launcher_delegate_; 145 TestLauncherDelegate* launcher_delegate_;
146 146
147 // Support for outer sharding, just like gtest does. 147 // Support for outer sharding, just like gtest does.
148 int32 total_shards_; // Total number of outer shards, at least one. 148 int32 total_shards_; // Total number of outer shards, at least one.
149 int32 shard_index_; // Index of shard the launcher is to run. 149 int32 shard_index_; // Index of shard the launcher is to run.
150 150
151 int cycles_; // Number of remaining test itreations, or -1 for infinite. 151 int cycles_; // Number of remaining test itreations, or -1 for infinite.
152 152
153 // Test filters (empty means no filter). Entries are separated by colons. 153 // Test filters (empty means no filter).
154 std::string positive_test_filter_; 154 std::vector<std::string> positive_test_filter_;
155 std::string negative_test_filter_; 155 std::vector<std::string> negative_test_filter_;
156 156
157 // Number of tests started in this iteration. 157 // Number of tests started in this iteration.
158 size_t test_started_count_; 158 size_t test_started_count_;
159 159
160 // Number of tests finished in this iteration. 160 // Number of tests finished in this iteration.
161 size_t test_finished_count_; 161 size_t test_finished_count_;
162 162
163 // Number of tests successfully finished in this iteration. 163 // Number of tests successfully finished in this iteration.
164 size_t test_success_count_; 164 size_t test_success_count_;
165 165
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 // running after |timeout|, it is terminated and |*was_timeout| is set to true. 215 // running after |timeout|, it is terminated and |*was_timeout| is set to true.
216 // Returns exit code of the process. 216 // Returns exit code of the process.
217 int LaunchChildTestProcessWithOptions(const CommandLine& command_line, 217 int LaunchChildTestProcessWithOptions(const CommandLine& command_line,
218 const LaunchOptions& options, 218 const LaunchOptions& options,
219 base::TimeDelta timeout, 219 base::TimeDelta timeout,
220 bool* was_timeout); 220 bool* was_timeout);
221 221
222 } // namespace base 222 } // namespace base
223 223
224 #endif // BASE_TEST_LAUNCHER_TEST_LAUNCHER_H_ 224 #endif // BASE_TEST_LAUNCHER_TEST_LAUNCHER_H_
OLDNEW
« no previous file with comments | « no previous file | base/test/launcher/test_launcher.cc » ('j') | base/test/launcher/test_launcher.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698