| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/common/extensions/manifest_tests/extension_manifest_test.h" | 5 #include "chrome/common/extensions/manifest_tests/chrome_manifest_test.h" |
| 6 | 6 |
| 7 namespace extensions { | 7 namespace extensions { |
| 8 | 8 |
| 9 TEST_F(ExtensionManifestTest, PlatformsKey) { | 9 TEST_F(ChromeManifestTest, PlatformsKey) { |
| 10 scoped_refptr<Extension> extension = | 10 scoped_refptr<Extension> extension = |
| 11 LoadAndExpectSuccess("platforms_key.json"); | 11 LoadAndExpectSuccess("platforms_key.json"); |
| 12 EXPECT_EQ(0u, extension->install_warnings().size()); | 12 EXPECT_EQ(0u, extension->install_warnings().size()); |
| 13 } | 13 } |
| 14 | 14 |
| 15 TEST_F(ExtensionManifestTest, UnrecognizedKeyWarning) { | 15 TEST_F(ChromeManifestTest, UnrecognizedKeyWarning) { |
| 16 scoped_refptr<Extension> extension = | 16 scoped_refptr<Extension> extension = |
| 17 LoadAndExpectWarning("unrecognized_key.json", | 17 LoadAndExpectWarning("unrecognized_key.json", |
| 18 "Unrecognized manifest key 'unrecognized_key_1'."); | 18 "Unrecognized manifest key 'unrecognized_key_1'."); |
| 19 } | 19 } |
| 20 | 20 |
| 21 } // namespace extensions | 21 } // namespace extensions |
| OLD | NEW |