diff options
author | darin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-26 05:55:10 +0000 |
---|---|---|
committer | darin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-26 05:55:10 +0000 |
commit | ab820df141e6ab45fd8a095d2f57f91df44e6c9c (patch) | |
tree | 20ae83601c4a484cd74c908b62bc9d702ef27996 /chrome/test/ui/ui_test_suite.h | |
parent | 4d9bdfafcd1393385860bc9fe947e0c07719c0f4 (diff) | |
download | chromium_src-ab820df141e6ab45fd8a095d2f57f91df44e6c9c.zip chromium_src-ab820df141e6ab45fd8a095d2f57f91df44e6c9c.tar.gz chromium_src-ab820df141e6ab45fd8a095d2f57f91df44e6c9c.tar.bz2 |
Chrome changes corresponding to my message_loop_type CL.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1363 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/ui/ui_test_suite.h')
-rw-r--r-- | chrome/test/ui/ui_test_suite.h | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/chrome/test/ui/ui_test_suite.h b/chrome/test/ui/ui_test_suite.h index c60eedb..d15db81 100644 --- a/chrome/test/ui/ui_test_suite.h +++ b/chrome/test/ui/ui_test_suite.h @@ -18,28 +18,29 @@ class UITestSuite : public ChromeTestSuite { virtual void Initialize() { ChromeTestSuite::Initialize(); + CommandLine parsed_command_line; UITest::set_in_process_renderer( - parsed_command_line_.HasSwitch(switches::kSingleProcess)); + parsed_command_line.HasSwitch(switches::kSingleProcess)); UITest::set_in_process_plugins( - parsed_command_line_.HasSwitch(switches::kInProcessPlugins)); + parsed_command_line.HasSwitch(switches::kInProcessPlugins)); UITest::set_no_sandbox( - parsed_command_line_.HasSwitch(switches::kNoSandbox)); + parsed_command_line.HasSwitch(switches::kNoSandbox)); UITest::set_full_memory_dump( - parsed_command_line_.HasSwitch(switches::kFullMemoryCrashReport)); + parsed_command_line.HasSwitch(switches::kFullMemoryCrashReport)); UITest::set_safe_plugins( - parsed_command_line_.HasSwitch(switches::kSafePlugins)); + parsed_command_line.HasSwitch(switches::kSafePlugins)); UITest::set_use_existing_browser( - parsed_command_line_.HasSwitch(UITestSuite::kUseExistingBrowser)); + parsed_command_line.HasSwitch(UITestSuite::kUseExistingBrowser)); UITest::set_dump_histograms_on_exit( - parsed_command_line_.HasSwitch(switches::kDumpHistogramsOnExit)); + parsed_command_line.HasSwitch(switches::kDumpHistogramsOnExit)); UITest::set_enable_dcheck( - parsed_command_line_.HasSwitch(switches::kEnableDCHECK)); + parsed_command_line.HasSwitch(switches::kEnableDCHECK)); UITest::set_silent_dump_on_dcheck( - parsed_command_line_.HasSwitch(switches::kSilentDumpOnDCHECK)); + parsed_command_line.HasSwitch(switches::kSilentDumpOnDCHECK)); UITest::set_disable_breakpad( - parsed_command_line_.HasSwitch(switches::kDisableBreakpad)); + parsed_command_line.HasSwitch(switches::kDisableBreakpad)); std::wstring test_timeout = - parsed_command_line_.GetSwitchValue(UITestSuite::kTestTimeout); + parsed_command_line.GetSwitchValue(UITestSuite::kTestTimeout); if (!test_timeout.empty()) { UITest::set_test_timeout_ms(_wtoi(test_timeout.c_str())); } |