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

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

Issue 13971005: Basic multi-module support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix copyright for presubmit Created 7 years, 8 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/common/extensions/features/base_feature_provider_unittest.cc
diff --git a/chrome/common/extensions/features/base_feature_provider_unittest.cc b/chrome/common/extensions/features/base_feature_provider_unittest.cc
index 1670f9fb3559c4e14c95e4bdfae649fe40c0147d..a1de8b57b711fa112045f344b761aea8a2e95477 100644
--- a/chrome/common/extensions/features/base_feature_provider_unittest.cc
+++ b/chrome/common/extensions/features/base_feature_provider_unittest.cc
@@ -21,7 +21,7 @@ TEST_F(BaseFeatureProviderTest, ManifestFeatures) {
SimpleFeature* feature =
static_cast<SimpleFeature*>(provider->GetFeature("description"));
ASSERT_TRUE(feature);
- EXPECT_EQ(5u, feature->extension_types()->size());
+ EXPECT_EQ(6u, feature->extension_types()->size());
EXPECT_EQ(1u, feature->extension_types()->count(Manifest::TYPE_EXTENSION));
EXPECT_EQ(1u,
feature->extension_types()->count(Manifest::TYPE_LEGACY_PACKAGED_APP));
@@ -29,6 +29,8 @@ TEST_F(BaseFeatureProviderTest, ManifestFeatures) {
feature->extension_types()->count(Manifest::TYPE_PLATFORM_APP));
EXPECT_EQ(1u, feature->extension_types()->count(Manifest::TYPE_HOSTED_APP));
EXPECT_EQ(1u, feature->extension_types()->count(Manifest::TYPE_THEME));
+ EXPECT_EQ(1u,
+ feature->extension_types()->count(Manifest::TYPE_SHARED_MODULE));
base::DictionaryValue manifest;
manifest.SetString("name", "test extension");
« no previous file with comments | « chrome/common/extensions/extension_manifest_constants.cc ('k') | chrome/common/extensions/features/simple_feature.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698