forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move unpacker_unittests.cc and data files from chrome/ to extensions/
Most of the changes here are just moves, with only a few more notable changes: Add "manifest_version : 2" and change from theme to extension -extensions/test/data/unpacker/bad_zip/manifest.json -extensions/test/data/unpacker/bad_image/manifest.json -extensions/test/data/unpacker/good_package/manifest.json Changed BadPathError test and misc cleanup -extensions/utility/unpacker_unittest.cc Support for changes to the above mentioned BadPathError test -extensions/test/test_extensions_client.h -extensions/test/test_extensions_client.cc Entire directory just deleted, not moved -chrome/test/data/extensions/unpacker/bad_path/ BUG=447014 Review URL: https://codereview.chromium.org/849803004 Cr-Commit-Position: refs/heads/master@{#311954}
- Loading branch information
asargent
authored and
Commit bot
committed
Jan 16, 2015
1 parent
79126ef
commit 12a9cab
Showing
51 changed files
with
90 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
16 changes: 0 additions & 16 deletions
16
chrome/test/data/extensions/unpacker/bad_path/bad_path.pem
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-9.86 KB
chrome/test/data/extensions/unpacker/good_package/product_logo_128.png
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
File renamed without changes.
3 changes: 2 additions & 1 deletion
3
...tensions/unpacker/bad_image/manifest.json → ...est/data/unpacker/bad_image/manifest.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"name": "Bad Image", | ||
"version": "1.0", | ||
"manifest_version": 2, | ||
"description": "Package with a bad image to be used for unit testing.", | ||
"theme": {"images" : {"bad" : "not_really_an_image.png"}} | ||
"icons": { "128": "not_really_an_image.png" } | ||
} |
File renamed without changes
Binary file renamed
BIN
+8.3 KB
...test/data/extensions/unpacker/bad_zip.crx → extensions/test/data/unpacker/bad_zip.crx
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 4 additions & 1 deletion
5
...extensions/unpacker/bad_zip/manifest.json → .../test/data/unpacker/bad_zip/manifest.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
{ | ||
"name": "Bad ZIP", | ||
"manifest_version": 2, | ||
"version": "1.0", | ||
"description": "Good package to be mangled by bad_zip.sh for unit testing.", | ||
"theme": {"images" : {"logo" : "product_logo_128.png"}} | ||
"icons": { | ||
"128" : "product_logo_128.png" | ||
} | ||
} |
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file renamed
BIN
+10.5 KB
...data/extensions/unpacker/good_package.crx → ...sions/test/data/unpacker/good_package.crx
Binary file not shown.
5 changes: 4 additions & 1 deletion
5
...sions/unpacker/good_package/manifest.json → .../data/unpacker/good_package/manifest.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
{ | ||
"name": "Good Package", | ||
"manifest_version": 2, | ||
"version": "1.0", | ||
"description": "Good (valid) package to be used for unit testing.", | ||
"theme": {"images" : {"logo" : "product_logo_128.png"}} | ||
"icons": { | ||
"128": "product_logo_128.png" | ||
} | ||
} |
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters