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

Unified Diff: chrome/browser/extensions/sandboxed_unpacker_unittest.cc

Issue 406713002: Allow drag-and-drop of zipped extensions on chrome://extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 5 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/browser/extensions/sandboxed_unpacker_unittest.cc
diff --git a/chrome/browser/extensions/sandboxed_unpacker_unittest.cc b/chrome/browser/extensions/sandboxed_unpacker_unittest.cc
index 8e45c3ef0a208972b96bb6e8e4faab1d16c44475..991d0602d4f6c813a51dc8277286cca9eea0f524 100644
--- a/chrome/browser/extensions/sandboxed_unpacker_unittest.cc
+++ b/chrome/browser/extensions/sandboxed_unpacker_unittest.cc
@@ -57,7 +57,7 @@ class MockSandboxedUnpackerClient : public SandboxedUnpackerClient {
class SandboxedUnpackerTest : public testing::Test {
public:
virtual void SetUp() {
- ASSERT_TRUE(extensions_dir_.CreateUniqueTempDir());
+ ASSERT_TRUE(extensions_dir_.CreateUniqueTempDir());
browser_threads_.reset(new content::TestBrowserThreadBundle(
content::TestBrowserThreadBundle::IO_MAINLOOP));
in_process_utility_thread_helper_.reset(
@@ -124,4 +124,8 @@ TEST_F(SandboxedUnpackerTest, WithCatalogsSuccess) {
EXPECT_TRUE(base::PathExists(install_path));
}
+TEST_F(SandboxedUnpackerTest, ZipFile) {
+ SetupUnpacker("goodzip.zip");
+}
+
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698