diff options
Diffstat (limited to 'chrome/test')
-rw-r--r-- | chrome/test/automation/automation_proxy_uitest.cc | 4 | ||||
-rw-r--r-- | chrome/test/render_view_test.cc | 2 | ||||
-rw-r--r-- | chrome/test/startup/startup_test.cc | 2 | ||||
-rw-r--r-- | chrome/test/ui/ui_test.cc | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/chrome/test/automation/automation_proxy_uitest.cc b/chrome/test/automation/automation_proxy_uitest.cc index 0ce8bcb..374229d 100644 --- a/chrome/test/automation/automation_proxy_uitest.cc +++ b/chrome/test/automation/automation_proxy_uitest.cc @@ -343,7 +343,7 @@ class AutomationProxyTest2 : public AutomationProxyVisibleTest { document1_= test_data_directory_.AppendASCII("title1.html"); document2_ = test_data_directory_.AppendASCII("title2.html"); - launch_arguments_ = CommandLine(CommandLine::ARGUMENTS_ONLY); + launch_arguments_ = CommandLine(CommandLine::NO_PROGRAM); launch_arguments_.AppendArgPath(document1_); launch_arguments_.AppendArgPath(document2_); } @@ -560,7 +560,7 @@ class AutomationProxyTest3 : public UITest { document1_ = document1_.AppendASCII("frame_dom_access.html"); dom_automation_enabled_ = true; - launch_arguments_ = CommandLine(CommandLine::ARGUMENTS_ONLY); + launch_arguments_ = CommandLine(CommandLine::NO_PROGRAM); launch_arguments_.AppendArgPath(document1_); } diff --git a/chrome/test/render_view_test.cc b/chrome/test/render_view_test.cc index cd0fccd..c17c25f 100644 --- a/chrome/test/render_view_test.cc +++ b/chrome/test/render_view_test.cc @@ -75,7 +75,7 @@ void RenderViewTest::LoadHTML(const char* html) { void RenderViewTest::SetUp() { sandbox_init_wrapper_.reset(new SandboxInitWrapper()); - command_line_.reset(new CommandLine(CommandLine::ARGUMENTS_ONLY)); + command_line_.reset(new CommandLine(CommandLine::NO_PROGRAM)); params_.reset(new MainFunctionParams(*command_line_, *sandbox_init_wrapper_, NULL)); platform_.reset(new RendererMainPlatformDelegate(*params_)); diff --git a/chrome/test/startup/startup_test.cc b/chrome/test/startup/startup_test.cc index b94316a..31bdaf9 100644 --- a/chrome/test/startup/startup_test.cc +++ b/chrome/test/startup/startup_test.cc @@ -277,7 +277,7 @@ void StartupTest::RunPerfTestWithManyTabs(const char* graph, const char* trace, UITest::TearDown(); // Clear all arguments for session restore, or the number of open tabs // will grow with each restore. - launch_arguments_ = CommandLine(CommandLine::ARGUMENTS_ONLY); + launch_arguments_ = CommandLine(CommandLine::NO_PROGRAM); // The session will be restored once per cycle for numCycles test cycles, // and each time, UITest::SetUp will wait for |tab_count| tabs to // finish loading. diff --git a/chrome/test/ui/ui_test.cc b/chrome/test/ui/ui_test.cc index 958eb62..8c72435 100644 --- a/chrome/test/ui/ui_test.cc +++ b/chrome/test/ui/ui_test.cc @@ -90,7 +90,7 @@ std::string UITestBase::log_level_ = ""; // #define WAIT_FOR_DEBUGGER_ON_OPEN 1 UITestBase::UITestBase() - : launch_arguments_(CommandLine::ARGUMENTS_ONLY), + : launch_arguments_(CommandLine::NO_PROGRAM), expected_errors_(0), expected_crashes_(0), homepage_(chrome::kAboutBlankURL), @@ -110,7 +110,7 @@ UITestBase::UITestBase() } UITestBase::UITestBase(MessageLoop::Type msg_loop_type) - : launch_arguments_(CommandLine::ARGUMENTS_ONLY), + : launch_arguments_(CommandLine::NO_PROGRAM), expected_errors_(0), expected_crashes_(0), homepage_(chrome::kAboutBlankURL), |