Skip to content

Commit

Permalink
test: add more test zips
Browse files Browse the repository at this point in the history
Made with Winzip on Windows. #1
  • Loading branch information
klausbrunner committed Feb 23, 2023
1 parent 65f681b commit 0ed60d0
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/net/e175/klaus/zip/ZipPrefixerTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ void detectsBadOffsets() throws IOException {
@ParameterizedTest
@ValueSource(strings = {"simplest.jar", "simplest-zip64.jar", "single-1g-file.zip", "single-10g-file.zip",
"2k-tiny-files.zip", "20k-tiny-files.zip", "small-forced-zip64.zip", "small-forced-zip64-python.zip",
"zip64-golang.zip"})
"zip64-golang.zip", "winzip-normal.zip", "winzip-zipx.zip"})
void adjustsZipOffsets(String filename) throws IOException {
Path f = prepareTestFile(filename);

Expand Down
Binary file added src/test/resources/winzip-aes-encrypted.zip.gz
Binary file not shown.
Binary file added src/test/resources/winzip-normal.zip.gz
Binary file not shown.
Binary file added src/test/resources/winzip-zipx.zip.gz
Binary file not shown.

0 comments on commit 0ed60d0

Please sign in to comment.