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

Unified Diff: chrome/common/extensions/manifest_tests/extension_manifests_dummy_unittest.cc

Issue 572813002: 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: chrome/common/extensions/manifest_tests/extension_manifests_dummy_unittest.cc
diff --git a/chrome/common/extensions/manifest_tests/extension_manifests_dummy_unittest.cc b/chrome/common/extensions/manifest_tests/extension_manifests_dummy_unittest.cc
index 73c1350fa055e36084ef5a973a91a07d1a46646c..1e9a34ed0a43267b548ef89ca239d99e3bcd27a5 100644
--- a/chrome/common/extensions/manifest_tests/extension_manifests_dummy_unittest.cc
+++ b/chrome/common/extensions/manifest_tests/extension_manifests_dummy_unittest.cc
@@ -2,17 +2,17 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/common/extensions/manifest_tests/extension_manifest_test.h"
+#include "chrome/common/extensions/manifest_tests/chrome_manifest_test.h"
namespace extensions {
-TEST_F(ExtensionManifestTest, PlatformsKey) {
+TEST_F(ChromeManifestTest, PlatformsKey) {
scoped_refptr<Extension> extension =
LoadAndExpectSuccess("platforms_key.json");
EXPECT_EQ(0u, extension->install_warnings().size());
}
-TEST_F(ExtensionManifestTest, UnrecognizedKeyWarning) {
+TEST_F(ChromeManifestTest, UnrecognizedKeyWarning) {
scoped_refptr<Extension> extension =
LoadAndExpectWarning("unrecognized_key.json",
"Unrecognized manifest key 'unrecognized_key_1'.");

Powered by Google App Engine
This is Rietveld 408576698