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

Unified Diff: chrome/installer/util/channel_info_unittest.cc

Issue 8909009: Remove remaining references to CEEE. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Sync'ed, no new changes Created 9 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/util/channel_info.cc ('k') | chrome/installer/util/google_update_settings.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/channel_info_unittest.cc
===================================================================
--- chrome/installer/util/channel_info_unittest.cc (revision 115109)
+++ chrome/installer/util/channel_info_unittest.cc (working copy)
@@ -25,12 +25,6 @@
ci.set_value(L"");
EXPECT_TRUE(ci.GetChannelName(&channel));
EXPECT_EQ(kChannelStable, channel);
- ci.set_value(L"-CEEE");
- EXPECT_TRUE(ci.GetChannelName(&channel));
- EXPECT_EQ(kChannelStable, channel);
- ci.set_value(L"-CEEE-multi");
- EXPECT_TRUE(ci.GetChannelName(&channel));
- EXPECT_EQ(kChannelStable, channel);
ci.set_value(L"-full");
EXPECT_TRUE(ci.GetChannelName(&channel));
EXPECT_EQ(kChannelStable, channel);
@@ -59,38 +53,6 @@
EXPECT_FALSE(ci.GetChannelName(&channel));
}
-TEST(ChannelInfoTest, CEEE) {
- ChannelInfo ci;
-
- ci.set_value(L"");
- EXPECT_TRUE(ci.SetCeee(true));
- EXPECT_TRUE(ci.IsCeee());
- EXPECT_EQ(L"-CEEE", ci.value());
- EXPECT_FALSE(ci.SetCeee(true));
- EXPECT_TRUE(ci.IsCeee());
- EXPECT_EQ(L"-CEEE", ci.value());
- EXPECT_TRUE(ci.SetCeee(false));
- EXPECT_FALSE(ci.IsCeee());
- EXPECT_EQ(L"", ci.value());
- EXPECT_FALSE(ci.SetCeee(false));
- EXPECT_FALSE(ci.IsCeee());
- EXPECT_EQ(L"", ci.value());
-
- ci.set_value(L"2.0-beta");
- EXPECT_TRUE(ci.SetCeee(true));
- EXPECT_TRUE(ci.IsCeee());
- EXPECT_EQ(L"2.0-beta-CEEE", ci.value());
- EXPECT_FALSE(ci.SetCeee(true));
- EXPECT_TRUE(ci.IsCeee());
- EXPECT_EQ(L"2.0-beta-CEEE", ci.value());
- EXPECT_TRUE(ci.SetCeee(false));
- EXPECT_FALSE(ci.IsCeee());
- EXPECT_EQ(L"2.0-beta", ci.value());
- EXPECT_FALSE(ci.SetCeee(false));
- EXPECT_FALSE(ci.IsCeee());
- EXPECT_EQ(L"2.0-beta", ci.value());
-}
-
TEST(ChannelInfoTest, FullInstall) {
ChannelInfo ci;
« no previous file with comments | « chrome/installer/util/channel_info.cc ('k') | chrome/installer/util/google_update_settings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698