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

Unified Diff: base/test/launcher/test_launcher.h

Issue 2515573003: Make test filters play nice (Closed)
Patch Set: Make test filters play nice Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/test/launcher/test_launcher.cc » ('j') | base/test/launcher/test_launcher.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/launcher/test_launcher.h
diff --git a/base/test/launcher/test_launcher.h b/base/test/launcher/test_launcher.h
index 218d8b627a969a8de32d65c9d1f947ee2af39887..a2fd8b241b9200f7cb6526d20b54aa367d8308a1 100644
--- a/base/test/launcher/test_launcher.h
+++ b/base/test/launcher/test_launcher.h
@@ -142,6 +142,9 @@ class TestLauncher {
// Runs all tests in current iteration. Uses callbacks to communicate success.
void RunTests();
+ void CombinePositiveTestFilters(std::vector<std::string> filter_a,
+ std::vector<std::string> filter_b);
+
void RunTestIteration();
// Saves test results summary as JSON if requested from command line.
@@ -181,6 +184,7 @@ class TestLauncher {
int cycles_; // Number of remaining test itreations, or -1 for infinite.
// Test filters (empty means no filter).
+ bool has_at_least_one_positive_filter_;
std::vector<std::string> positive_test_filter_;
std::vector<std::string> negative_test_filter_;
« 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