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

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

Issue 11724002: Move ContentScripts out of Extension (Closed) Base URL: http://git.chromium.org/chromium/src.git@dc_unref_browser_action
Patch Set: Latest master for CQ Created 7 years, 9 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_excludematches_unittest.cc
diff --git a/chrome/common/extensions/manifest_tests/extension_manifests_excludematches_unittest.cc b/chrome/common/extensions/manifest_tests/extension_manifests_excludematches_unittest.cc
deleted file mode 100644
index 0f0163806baeedf4b6f00926b69d274c231a6acb..0000000000000000000000000000000000000000
--- a/chrome/common/extensions/manifest_tests/extension_manifests_excludematches_unittest.cc
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// 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/extension.h"
-#include "testing/gtest/include/gtest/gtest.h"
-
-TEST_F(ExtensionManifestTest, ExcludeMatchPatterns) {
- Testcase testcases[] = {
- Testcase("exclude_matches.json"),
- Testcase("exclude_matches_empty.json")
- };
- RunTestcases(testcases, arraysize(testcases),
- EXPECT_TYPE_SUCCESS);
-
- Testcase testcases2[] = {
- Testcase("exclude_matches_not_list.json",
- "Invalid value for 'content_scripts[0].exclude_matches'."),
- Testcase("exclude_matches_invalid_host.json",
- "Invalid value for 'content_scripts[0].exclude_matches[0]': "
- "Invalid host wildcard.")
- };
- RunTestcases(testcases2, arraysize(testcases2),
- EXPECT_TYPE_ERROR);
-}

Powered by Google App Engine
This is Rietveld 408576698