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

Unified Diff: base/test/test_switches.cc

Issue 10582012: For unit tests, track additions to AtExitManager and warn. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix presubmit warnings; Created 8 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/test/test_switches.h ('k') | chrome/test/base/in_process_browser_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/test_switches.cc
diff --git a/base/test/test_switches.cc b/base/test/test_switches.cc
index 79fbad12fd6dc9288fb80b020b008dd41b3941b0..f5ec293b0c05868719c3421a912b9b805a3feca2 100644
--- a/base/test/test_switches.cc
+++ b/base/test/test_switches.cc
@@ -4,9 +4,20 @@
#include "base/test/test_switches.h"
+namespace switches {
+
+// Run Chromium in single process mode.
+const char kSingleProcessChromeFlag[] = "single-process";
+
+// Run the tests and the launcher in the same process. Useful for debugging a
+// specific test in a debugger.
+const char kSingleProcessTestsFlag[] = "single_process";
+
// Time (in milliseconds) that the tests should wait before timing out.
// TODO(phajdan.jr): Clean up the switch names.
-const char switches::kTestLargeTimeout[] = "test-large-timeout";
-const char switches::kTestTinyTimeout[] = "test-tiny-timeout";
-const char switches::kUiTestActionTimeout[] = "ui-test-action-timeout";
-const char switches::kUiTestActionMaxTimeout[] = "ui-test-action-max-timeout";
+const char kTestLargeTimeout[] = "test-large-timeout";
+const char kTestTinyTimeout[] = "test-tiny-timeout";
+const char kUiTestActionTimeout[] = "ui-test-action-timeout";
+const char kUiTestActionMaxTimeout[] = "ui-test-action-max-timeout";
+
+} // namespace switches
« no previous file with comments | « base/test/test_switches.h ('k') | chrome/test/base/in_process_browser_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698