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

Unified Diff: chrome/common/extensions/features/simple_feature_unittest.cc

Issue 15091002: Lazily load API schemas from resource files and convert all APIs to features (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chromeos tests Created 7 years, 6 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/common/extensions/features/simple_feature.cc ('k') | chrome/common/extensions/manifest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/features/simple_feature_unittest.cc
diff --git a/chrome/common/extensions/features/simple_feature_unittest.cc b/chrome/common/extensions/features/simple_feature_unittest.cc
index 2fd6d2105882748c92bbb13b580ae97a97db8026..c72f30489d99dd31e0e01fed7fc5af7a04e4f263 100644
--- a/chrome/common/extensions/features/simple_feature_unittest.cc
+++ b/chrome/common/extensions/features/simple_feature_unittest.cc
@@ -611,18 +611,6 @@ TEST_F(ExtensionSimpleFeatureTest, SupportedChannel) {
IsAvailableInChannel("trunk", VersionInfo::CHANNEL_BETA));
EXPECT_EQ(Feature::UNSUPPORTED_CHANNEL,
IsAvailableInChannel("trunk", VersionInfo::CHANNEL_STABLE));
-
- // Default supported channel (trunk).
- EXPECT_EQ(Feature::IS_AVAILABLE,
- IsAvailableInChannel(std::string(), VersionInfo::CHANNEL_UNKNOWN));
- EXPECT_EQ(Feature::UNSUPPORTED_CHANNEL,
- IsAvailableInChannel(std::string(), VersionInfo::CHANNEL_CANARY));
- EXPECT_EQ(Feature::UNSUPPORTED_CHANNEL,
- IsAvailableInChannel(std::string(), VersionInfo::CHANNEL_DEV));
- EXPECT_EQ(Feature::UNSUPPORTED_CHANNEL,
- IsAvailableInChannel(std::string(), VersionInfo::CHANNEL_BETA));
- EXPECT_EQ(Feature::UNSUPPORTED_CHANNEL,
- IsAvailableInChannel(std::string(), VersionInfo::CHANNEL_STABLE));
}
} // namespace
« no previous file with comments | « chrome/common/extensions/features/simple_feature.cc ('k') | chrome/common/extensions/manifest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698