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

Unified Diff: chrome/test/webdriver/webdriver_automation.cc

Issue 10825109: Add default testing command line flags in UITestBase instead of ProxyLauncher. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix define Created 8 years, 4 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 | « chrome/test/ui/ui_test.cc ('k') | chrome/test/webdriver/webdriver_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/webdriver/webdriver_automation.cc
diff --git a/chrome/test/webdriver/webdriver_automation.cc b/chrome/test/webdriver/webdriver_automation.cc
index 20fdfae4e199c1aef4e9f297fc2b6ea813ddbc8a..92981e728f1b05fb367097b7ac3136d3bacbb037 100644
--- a/chrome/test/webdriver/webdriver_automation.cc
+++ b/chrome/test/webdriver/webdriver_automation.cc
@@ -357,12 +357,24 @@ void Automation::Init(
if (CommandLine::ForCurrentProcess()->HasSwitch("no-sandbox")) {
command.AppendSwitch(switches::kNoSandbox);
}
+ command.AppendSwitch(switches::kEnableLogging);
+ command.AppendSwitchASCII(switches::kLoggingLevel, "1");
command.AppendSwitch(switches::kDisableHangMonitor);
command.AppendSwitch(switches::kDisablePromptOnRepost);
command.AppendSwitch(switches::kDomAutomationController);
command.AppendSwitch(switches::kFullMemoryCrashReport);
command.AppendSwitch(switches::kNoDefaultBrowserCheck);
command.AppendSwitch(switches::kNoFirstRun);
+ command.AppendSwitch(switches::kDisableWebResources);
+ command.AppendSwitch(switches::kSbDisableAutoUpdate);
+ command.AppendSwitch(switches::kDisableComponentUpdate);
+ command.AppendSwitch(switches::kDisableDefaultApps);
+#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
+ command.AppendSwitchASCII(switches::kPasswordStore, "basic");
+#endif
+#if defined(OS_MACOSX)
+ command.AppendSwitch(switches::kUseMockKeychain);
+#endif
if (options.detach_process)
command.AppendSwitch(switches::kAutomationReinitializeOnChannelError);
if (options.ignore_certificate_errors)
« no previous file with comments | « chrome/test/ui/ui_test.cc ('k') | chrome/test/webdriver/webdriver_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698