Home
last modified time | relevance | path

Searched refs:unpacker_ (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/chrome/utility/extensions/
Dunpacker_unittest.cc49 unpacker_.reset(new Unpacker(crx_path, in SetupUnpacker()
57 scoped_ptr<Unpacker> unpacker_; member in extensions::UnpackerTest
62 EXPECT_FALSE(unpacker_->Run()); in TEST_F()
64 unpacker_->error_message()); in TEST_F()
69 EXPECT_FALSE(unpacker_->Run()); in TEST_F()
71 unpacker_->error_message()); in TEST_F()
76 EXPECT_FALSE(unpacker_->Run()); in TEST_F()
78 unpacker_->error_message()); in TEST_F()
83 EXPECT_FALSE(unpacker_->Run()); in TEST_F()
84 EXPECT_TRUE(MatchPattern(unpacker_->error_message(), in TEST_F()
[all …]
/external/chromium/chrome/common/extensions/
Dextension_unpacker_unittest.cc38 unpacker_.reset(new ExtensionUnpacker(crx_path)); in SetupUnpacker()
43 scoped_ptr<ExtensionUnpacker> unpacker_; member in ExtensionUnpackerTest
48 EXPECT_FALSE(unpacker_->Run()); in TEST_F()
49 EXPECT_EQ(errors::kInvalidDefaultLocale, unpacker_->error_message()); in TEST_F()
54 EXPECT_FALSE(unpacker_->Run()); in TEST_F()
55 EXPECT_EQ(errors::kLocalesTreeMissing, unpacker_->error_message()); in TEST_F()
60 EXPECT_FALSE(unpacker_->Run()); in TEST_F()
61 EXPECT_EQ(errors::kInvalidDefaultLocale, unpacker_->error_message()); in TEST_F()
66 EXPECT_FALSE(unpacker_->Run()); in TEST_F()
67 EXPECT_TRUE(MatchPattern(unpacker_->error_message(), in TEST_F()
[all …]
/external/chromium/chrome/browser/extensions/
Dsandboxed_extension_unpacker_unittest.cc88 unpacker_.reset(new ExtensionUnpacker(crx_path)); in SetupUnpacker()
117 *unpacker_->parsed_manifest()); in OnUnpackSucceeded()
153 scoped_ptr<ExtensionUnpacker> unpacker_; member in SandboxedExtensionUnpackerTest
164 ASSERT_TRUE(unpacker_->Run()); in TEST_F()
165 ASSERT_TRUE(unpacker_->DumpImagesToFile()); in TEST_F()
166 ASSERT_TRUE(unpacker_->DumpMessageCatalogsToFile()); in TEST_F()
186 ASSERT_TRUE(unpacker_->Run()); in TEST_F()
187 ASSERT_TRUE(unpacker_->DumpImagesToFile()); in TEST_F()
188 ASSERT_TRUE(unpacker_->DumpMessageCatalogsToFile()); in TEST_F()