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

Unified Diff: chrome/installer/setup/setup_util_unittest.cc

Issue 117433002: Remove installation of Chrome Frame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: typo fix Created 7 years 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/installer/setup/setup_util.cc ('k') | chrome/installer/util/browser_distribution.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/setup/setup_util_unittest.cc
diff --git a/chrome/installer/setup/setup_util_unittest.cc b/chrome/installer/setup/setup_util_unittest.cc
index 0e06efbe96705e50f27536f2ec0682953370d4e1..c08e2b77afc1c9f7dd8a31e9bf486ecf18a75f5d 100644
--- a/chrome/installer/setup/setup_util_unittest.cc
+++ b/chrome/installer/setup/setup_util_unittest.cc
@@ -485,3 +485,12 @@ TEST_F(MigrateMultiToSingleTest, ChromeFrame) {
BrowserDistribution::CHROME_BINARIES));
EXPECT_EQ(L"2.0-dev-multi", binaries.channel().value());
}
+
+TEST(SetupUtilTest, ContainsUnsupportedSwitch) {
+ EXPECT_FALSE(installer::ContainsUnsupportedSwitch(
+ CommandLine::FromString(L"foo.exe")));
+ EXPECT_FALSE(installer::ContainsUnsupportedSwitch(
+ CommandLine::FromString(L"foo.exe --multi-install --chrome")));
+ EXPECT_TRUE(installer::ContainsUnsupportedSwitch(
+ CommandLine::FromString(L"foo.exe --chrome-frame")));
+}
« no previous file with comments | « chrome/installer/setup/setup_util.cc ('k') | chrome/installer/util/browser_distribution.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698