summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcira@chromium.org <cira@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-18 19:13:11 +0000
committercira@chromium.org <cira@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-18 19:13:11 +0000
commit0b2ad450ab0496c55a7825573ce93f5ff401fe5b (patch)
treef5e5aef5bb09968236ad493891159ec9bb839e34
parent81452ebe661b4cd0acbf79e4562d0b82aeed0702 (diff)
downloadchromium_src-0b2ad450ab0496c55a7825573ce93f5ff401fe5b.zip
chromium_src-0b2ad450ab0496c55a7825573ce93f5ff401fe5b.tar.gz
chromium_src-0b2ad450ab0496c55a7825573ce93f5ff401fe5b.tar.bz2
DISABLING all new unpacker tests. XP try bots are failing.
TBR=tony@chromium.org Review URL: http://codereview.chromium.org/399076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32357 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/extensions/sandboxed_extension_unpacker_unittest.cc4
-rw-r--r--chrome/common/extensions/extension_unpacker_unittest.cc20
2 files changed, 12 insertions, 12 deletions
diff --git a/chrome/browser/extensions/sandboxed_extension_unpacker_unittest.cc b/chrome/browser/extensions/sandboxed_extension_unpacker_unittest.cc
index 93f550d..02bb01a 100644
--- a/chrome/browser/extensions/sandboxed_extension_unpacker_unittest.cc
+++ b/chrome/browser/extensions/sandboxed_extension_unpacker_unittest.cc
@@ -120,7 +120,7 @@ class SandboxedExtensionUnpackerTest : public testing::Test {
scoped_refptr<SandboxedExtensionUnpacker> sandboxed_unpacker_;
};
-TEST_F(SandboxedExtensionUnpackerTest, NoCatalogsSuccess) {
+TEST_F(SandboxedExtensionUnpackerTest, DISABLED_NoCatalogsSuccess) {
EXPECT_CALL(*client_, OnUnpackSuccess(_, _, _));
SetupUnpacker("no_l10n.crx");
@@ -138,7 +138,7 @@ TEST_F(SandboxedExtensionUnpackerTest, NoCatalogsSuccess) {
EXPECT_FALSE(file_util::PathExists(install_path));
}
-TEST_F(SandboxedExtensionUnpackerTest, WithCatalogsSuccess) {
+TEST_F(SandboxedExtensionUnpackerTest, DISABLED_WithCatalogsSuccess) {
EXPECT_CALL(*client_, OnUnpackSuccess(_, _, _));
SetupUnpacker("good_l10n.crx");
diff --git a/chrome/common/extensions/extension_unpacker_unittest.cc b/chrome/common/extensions/extension_unpacker_unittest.cc
index f7679cf..0b11851 100644
--- a/chrome/common/extensions/extension_unpacker_unittest.cc
+++ b/chrome/common/extensions/extension_unpacker_unittest.cc
@@ -52,25 +52,25 @@ public:
scoped_ptr<ExtensionUnpacker> unpacker_;
};
-TEST_F(ExtensionUnpackerTest, EmptyDefaultLocale) {
+TEST_F(ExtensionUnpackerTest, DISABLED_EmptyDefaultLocale) {
SetupUnpacker("empty_default_locale.crx");
EXPECT_FALSE(unpacker_->Run());
EXPECT_EQ(errors::kInvalidDefaultLocale, unpacker_->error_message());
}
-TEST_F(ExtensionUnpackerTest, HasDefaultLocaleMissingLocalesFolder) {
+TEST_F(ExtensionUnpackerTest, DISABLED_HasDefaultLocaleMissingLocalesFolder) {
SetupUnpacker("has_default_missing_locales.crx");
EXPECT_FALSE(unpacker_->Run());
EXPECT_EQ(errors::kLocalesTreeMissing, unpacker_->error_message());
}
-TEST_F(ExtensionUnpackerTest, InvalidDefaultLocale) {
+TEST_F(ExtensionUnpackerTest, DISABLED_InvalidDefaultLocale) {
SetupUnpacker("invalid_default_locale.crx");
EXPECT_FALSE(unpacker_->Run());
EXPECT_EQ(errors::kInvalidDefaultLocale, unpacker_->error_message());
}
-TEST_F(ExtensionUnpackerTest, InvalidMessagesFile) {
+TEST_F(ExtensionUnpackerTest, DISABLED_InvalidMessagesFile) {
SetupUnpacker("invalid_messages_file.crx");
EXPECT_FALSE(unpacker_->Run());
EXPECT_TRUE(MatchPattern(unpacker_->error_message(),
@@ -78,20 +78,20 @@ TEST_F(ExtensionUnpackerTest, InvalidMessagesFile) {
" Dictionary keys must be quoted.")));
}
-TEST_F(ExtensionUnpackerTest, MissingDefaultData) {
+TEST_F(ExtensionUnpackerTest, DISABLED_MissingDefaultData) {
SetupUnpacker("missing_default_data.crx");
EXPECT_FALSE(unpacker_->Run());
EXPECT_EQ(errors::kLocalesNoDefaultMessages, unpacker_->error_message());
}
-TEST_F(ExtensionUnpackerTest, MissingDefaultLocaleHasLocalesFolder) {
+TEST_F(ExtensionUnpackerTest, DISABLED_MissingDefaultLocaleHasLocalesFolder) {
SetupUnpacker("missing_default_has_locales.crx");
EXPECT_FALSE(unpacker_->Run());
EXPECT_EQ(errors::kLocalesNoDefaultLocaleSpecified,
unpacker_->error_message());
}
-TEST_F(ExtensionUnpackerTest, MissingMessagesFile) {
+TEST_F(ExtensionUnpackerTest, DISABLED_MissingMessagesFile) {
SetupUnpacker("missing_messages_file.crx");
EXPECT_FALSE(unpacker_->Run());
EXPECT_TRUE(MatchPattern(unpacker_->error_message(),
@@ -99,20 +99,20 @@ TEST_F(ExtensionUnpackerTest, MissingMessagesFile) {
std::string("*_locales?en_US?messages.json")));
}
-TEST_F(ExtensionUnpackerTest, NoLocaleData) {
+TEST_F(ExtensionUnpackerTest, DISABLED_NoLocaleData) {
SetupUnpacker("no_locale_data.crx");
EXPECT_FALSE(unpacker_->Run());
EXPECT_EQ(errors::kLocalesTreeMissing, unpacker_->error_message());
}
-TEST_F(ExtensionUnpackerTest, GoodL10n) {
+TEST_F(ExtensionUnpackerTest, DISABLED_GoodL10n) {
SetupUnpacker("good_l10n.crx");
EXPECT_TRUE(unpacker_->Run());
EXPECT_TRUE(unpacker_->error_message().empty());
ASSERT_EQ(2U, unpacker_->parsed_catalogs()->GetSize());
}
-TEST_F(ExtensionUnpackerTest, NoL10n) {
+TEST_F(ExtensionUnpackerTest, DISABLED_NoL10n) {
SetupUnpacker("no_l10n.crx");
EXPECT_TRUE(unpacker_->Run());
EXPECT_TRUE(unpacker_->error_message().empty());