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

Unified Diff: chrome/app/chrome_main_uitest.cc

Issue 329017: Remove deprecated CommandLine(std::wstring) ctor. (Closed)
Patch Set: Created 11 years, 2 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/process_util_unittest.cc ('k') | chrome/browser/app_controller_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/chrome_main_uitest.cc
diff --git a/chrome/app/chrome_main_uitest.cc b/chrome/app/chrome_main_uitest.cc
index 48ef39ec161252517fbed8814f36e22fcb254aac..ab79407f3af1a13a759b1da89cfee0d65274f814 100644
--- a/chrome/app/chrome_main_uitest.cc
+++ b/chrome/app/chrome_main_uitest.cc
@@ -44,7 +44,8 @@ TEST_F(ChromeMainTest, SecondLaunch) {
include_testing_id_ = false;
use_existing_browser_ = true;
- ASSERT_TRUE(LaunchAnotherBrowserBlockUntilClosed(CommandLine(L"")));
+ ASSERT_TRUE(LaunchAnotherBrowserBlockUntilClosed(
+ CommandLine(CommandLine::ARGUMENTS_ONLY)));
ASSERT_TRUE(automation()->WaitForWindowCountToBecome(2, action_timeout_ms()));
}
@@ -55,9 +56,8 @@ TEST_F(ChromeMainTest, ReuseBrowserInstanceWhenOpeningFile) {
FilePath test_file = test_data_directory_.AppendASCII("empty.html");
- CommandLine command_line(L"");
+ CommandLine command_line(CommandLine::ARGUMENTS_ONLY);
command_line.AppendLooseValue(test_file.ToWStringHack());
-
ASSERT_TRUE(LaunchAnotherBrowserBlockUntilClosed(command_line));
ASSERT_TRUE(automation()->IsURLDisplayed(net::FilePathToFileURL(test_file)));
« no previous file with comments | « base/process_util_unittest.cc ('k') | chrome/browser/app_controller_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698