diff --git a/src/test/java/net/e175/klaus/zip/ZipPrefixerTest.java b/src/test/java/net/e175/klaus/zip/ZipPrefixerTest.java index 53b0bb5..770ca73 100644 --- a/src/test/java/net/e175/klaus/zip/ZipPrefixerTest.java +++ b/src/test/java/net/e175/klaus/zip/ZipPrefixerTest.java @@ -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); diff --git a/src/test/resources/winzip-aes-encrypted.zip.gz b/src/test/resources/winzip-aes-encrypted.zip.gz new file mode 100644 index 0000000..4caa73c Binary files /dev/null and b/src/test/resources/winzip-aes-encrypted.zip.gz differ diff --git a/src/test/resources/winzip-normal.zip.gz b/src/test/resources/winzip-normal.zip.gz new file mode 100644 index 0000000..6a4004b Binary files /dev/null and b/src/test/resources/winzip-normal.zip.gz differ diff --git a/src/test/resources/winzip-zipx.zip.gz b/src/test/resources/winzip-zipx.zip.gz new file mode 100644 index 0000000..155d1ce Binary files /dev/null and b/src/test/resources/winzip-zipx.zip.gz differ