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

Unified Diff: chrome/common/extensions/features/simple_feature_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
« no previous file with comments | « chrome/common/extensions/features/simple_feature.cc ('k') | chrome/common/extensions/manifest.h » ('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 4f92a341b68698961974ff1c1844c0c80fd91df6..2fd6d2105882748c92bbb13b580ae97a97db8026 100644
--- a/chrome/common/extensions/features/simple_feature_unittest.cc
+++ b/chrome/common/extensions/features/simple_feature_unittest.cc
@@ -377,16 +377,18 @@ TEST_F(ExtensionSimpleFeatureTest, ParsePackageTypes) {
extension_types->Append(new base::StringValue("packaged_app"));
extension_types->Append(new base::StringValue("hosted_app"));
extension_types->Append(new base::StringValue("platform_app"));
+ extension_types->Append(new base::StringValue("shared_module"));
value->Set("extension_types", extension_types);
scoped_ptr<SimpleFeature> feature(new SimpleFeature());
feature->Parse(value.get());
- EXPECT_EQ(5u, feature->extension_types()->size());
+ EXPECT_EQ(6u, feature->extension_types()->size());
EXPECT_TRUE(feature->extension_types()->count(Manifest::TYPE_EXTENSION));
EXPECT_TRUE(feature->extension_types()->count(Manifest::TYPE_THEME));
EXPECT_TRUE(feature->extension_types()->count(
Manifest::TYPE_LEGACY_PACKAGED_APP));
EXPECT_TRUE(feature->extension_types()->count(Manifest::TYPE_HOSTED_APP));
EXPECT_TRUE(feature->extension_types()->count(Manifest::TYPE_PLATFORM_APP));
+ EXPECT_TRUE(feature->extension_types()->count(Manifest::TYPE_SHARED_MODULE));
value->SetString("extension_types", "all");
scoped_ptr<SimpleFeature> feature2(new SimpleFeature());
« no previous file with comments | « chrome/common/extensions/features/simple_feature.cc ('k') | chrome/common/extensions/manifest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698