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

Unified Diff: chrome_frame/chrome_launcher_unittest.cc

Issue 7386002: Rename CommandLine::GetCommandLineString(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge. Created 9 years, 5 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_frame/chrome_frame_automation.cc ('k') | chrome_frame/chrome_tab.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/chrome_launcher_unittest.cc
diff --git a/chrome_frame/chrome_launcher_unittest.cc b/chrome_frame/chrome_launcher_unittest.cc
index caa02c0850790b2521bedea12e87cdda03f700ca..f1645a4a916ee2f8ac304b4f1702dbf85354255e 100644
--- a/chrome_frame/chrome_launcher_unittest.cc
+++ b/chrome_frame/chrome_launcher_unittest.cc
@@ -15,22 +15,22 @@ TEST(ChromeLauncher, IsValidCommandLine) {
bad.AppendSwitch(switches::kHomePage); // exists but not in whitelist
EXPECT_FALSE(chrome_launcher::IsValidCommandLine(
- bad.command_line_string().c_str()));
+ bad.GetCommandLineString().c_str()));
CommandLine good(FilePath(L"dummy.exe"));
good.AppendSwitch(switches::kNoFirstRun); // in whitelist
good.AppendSwitchASCII(switches::kUserDataDir, "foo"); // in whitelist
EXPECT_TRUE(chrome_launcher::IsValidCommandLine(
- good.command_line_string().c_str()));
+ good.GetCommandLineString().c_str()));
CommandLine no_params(FilePath(L"dummy.exe"));
EXPECT_TRUE(chrome_launcher::IsValidCommandLine(
- no_params.command_line_string().c_str()));
+ no_params.GetCommandLineString().c_str()));
CommandLine empty(FilePath(L""));
EXPECT_TRUE(chrome_launcher::IsValidCommandLine(
- empty.command_line_string().c_str()));
+ empty.GetCommandLineString().c_str()));
}
TEST(ChromeLauncher, TrimWhiteSpace) {
« no previous file with comments | « chrome_frame/chrome_frame_automation.cc ('k') | chrome_frame/chrome_tab.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698