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

Unified Diff: extensions/common/manifest_handlers/shared_module_manifest_unittest.cc

Issue 578653005: Revert "Refactor ExtensionManifestTest to allow usage in src/extensions" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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: extensions/common/manifest_handlers/shared_module_manifest_unittest.cc
diff --git a/extensions/common/manifest_handlers/shared_module_manifest_unittest.cc b/extensions/common/manifest_handlers/shared_module_manifest_unittest.cc
index ef90a1adcce3569eda4a53f57ddd08405dc8905a..9fad6187ff5903a976b45f64f135abd9c13b1dd2 100644
--- a/extensions/common/manifest_handlers/shared_module_manifest_unittest.cc
+++ b/extensions/common/manifest_handlers/shared_module_manifest_unittest.cc
@@ -3,9 +3,9 @@
// found in the LICENSE file.
#include "base/version.h"
+#include "chrome/common/extensions/manifest_tests/extension_manifest_test.h"
#include "extensions/common/extension.h"
#include "extensions/common/manifest_handlers/shared_module_info.h"
-#include "extensions/common/manifest_test.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
@@ -23,11 +23,11 @@ const char* kNoImport = "cccccccccccccccccccccccccccccccc";
namespace extensions {
-class SharedModuleManifestTest : public ManifestTest {
+class SharedModuleManifestTest : public ExtensionManifestTest {
};
TEST_F(SharedModuleManifestTest, ExportsAll) {
- ManifestData manifest("shared_module_export.json");
+ Manifest manifest("shared_module_export.json");
scoped_refptr<Extension> extension = LoadAndExpectSuccess(manifest);
@@ -49,7 +49,7 @@ TEST_F(SharedModuleManifestTest, ExportsAll) {
}
TEST_F(SharedModuleManifestTest, ExportWhitelistAll) {
- ManifestData manifest("shared_module_export_no_whitelist.json");
+ Manifest manifest("shared_module_export_no_whitelist.json");
scoped_refptr<Extension> extension = LoadAndExpectSuccess(manifest);
@@ -62,7 +62,7 @@ TEST_F(SharedModuleManifestTest, ExportWhitelistAll) {
}
TEST_F(SharedModuleManifestTest, ExportFoo) {
- ManifestData manifest("shared_module_export_foo.json");
+ Manifest manifest("shared_module_export_foo.json");
scoped_refptr<Extension> extension = LoadAndExpectSuccess(manifest);
@@ -108,7 +108,7 @@ TEST_F(SharedModuleManifestTest, SharedModuleStaticFunctions) {
}
TEST_F(SharedModuleManifestTest, Import) {
- ManifestData manifest("shared_module_import.json");
+ Manifest manifest("shared_module_import.json");
scoped_refptr<Extension> extension = LoadAndExpectSuccess(manifest);
« no previous file with comments | « extensions/common/manifest_handlers/file_handler_manifest_unittest.cc ('k') | extensions/common/manifest_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698