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

Unified Diff: chrome/service/service_process_unittest.cc

Issue 3935001: Rename CommandLine::ARGUMENTS_ONLY to NO_PROGRAM. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 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
Index: chrome/service/service_process_unittest.cc
diff --git a/chrome/service/service_process_unittest.cc b/chrome/service/service_process_unittest.cc
index 884da048da31ff5e07201a64aaa1e949083a5b26..1de149222028f6802155858eb884d08f36f2670e 100644
--- a/chrome/service/service_process_unittest.cc
+++ b/chrome/service/service_process_unittest.cc
@@ -17,7 +17,7 @@
TEST(ServiceProcessTest, DISABLED_Run) {
MessageLoopForUI main_message_loop;
ServiceProcess process;
- CommandLine command_line(CommandLine::ARGUMENTS_ONLY);
+ CommandLine command_line(CommandLine::NO_PROGRAM);
EXPECT_TRUE(process.Initialize(&main_message_loop, command_line));
EXPECT_TRUE(process.Teardown());
}
@@ -27,7 +27,7 @@ TEST(ServiceProcessTest, DISABLED_Run) {
TEST(ServiceProcessTest, DISABLED_RunChromoting) {
MessageLoopForUI main_message_loop;
ServiceProcess process;
- CommandLine command_line(CommandLine::ARGUMENTS_ONLY);
+ CommandLine command_line(CommandLine::NO_PROGRAM);
EXPECT_TRUE(process.Initialize(&main_message_loop, command_line));
// Then config the chromoting host and start it.
@@ -52,7 +52,7 @@ ACTION_P(QuitMessageLoop, message_loop) {
TEST(ServiceProcessTest, DISABLED_RunChromotingUntilShutdown) {
MessageLoopForUI main_message_loop;
MockServiceProcess process;
- CommandLine command_line(CommandLine::ARGUMENTS_ONLY);
+ CommandLine command_line(CommandLine::NO_PROGRAM);
EXPECT_TRUE(process.Initialize(&main_message_loop, command_line));
// Expect chromoting shutdown be called because the login token is invalid.
« no previous file with comments | « chrome/renderer/safe_browsing/render_view_fake_resources_test.cc ('k') | chrome/test/automation/automation_proxy_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698