summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/extension_unittest.cc')
-rw-r--r--chrome/browser/extensions/extension_unittest.cc17
1 files changed, 0 insertions, 17 deletions
diff --git a/chrome/browser/extensions/extension_unittest.cc b/chrome/browser/extensions/extension_unittest.cc
index df4c64f..0607186 100644
--- a/chrome/browser/extensions/extension_unittest.cc
+++ b/chrome/browser/extensions/extension_unittest.cc
@@ -254,20 +254,3 @@ TEST(ExtensionTest, GetResourceURLAndPath) {
EXPECT_EQ(FilePath().value(),
Extension::GetResourcePath(extension.path(), "../baz.js").value());
}
-
-TEST(ExtensionTest, Location) {
- Extension extension;
- EXPECT_EQ(Extension::INVALID, extension.location());
-
- extension.set_location(Extension::INTERNAL);
- EXPECT_EQ(Extension::INTERNAL, extension.location());
- EXPECT_TRUE(extension.is_uninstallable());
-
- extension.set_location(Extension::EXTERNAL);
- EXPECT_EQ(Extension::EXTERNAL, extension.location());
- EXPECT_FALSE(extension.is_uninstallable());
-
- extension.set_location(Extension::LOAD);
- EXPECT_EQ(Extension::LOAD, extension.location());
- EXPECT_FALSE(extension.is_uninstallable());
-}