Timofey Solomko
3e78ae765b
Update benchmark results due to a significant hardware update
2026-05-22 17:00:32 +08:00
Timofey Solomko
a41fe89076
[Tests] Add a test for 7-zip container with large LZMA dictionary size
2026-05-14 21:33:33 +08:00
Timofey Solomko
8c389295c4
[Tests] Add tests for BZip2.multiDecompress
2026-05-14 12:42:02 +08:00
Timofey Solomko
8310b985f2
[Tests] Add tests for all zero code lengths in Deflate dynamic Huffman block
...
These are related to situation described in issue #57 . We should now either properly throw an error, or in rare cases (when only literals are inside the block) produce an output.
2026-03-01 20:35:22 +08:00
Timofey Solomko
229c3ec47d
[Tests] Add Deflate tests for handling over copying in dynamic Huffman blocks
2026-03-01 20:35:21 +08:00
Timofey Solomko
07d30d6045
[Tests] Add a test for symbol 16 issue in Deflate
2026-03-01 20:35:21 +08:00
Timofey Solomko
3bfb4a1fa2
[Tests] Simplify Deflate truncation test
2026-02-28 01:26:43 +08:00
Timofey Solomko
80177155c8
[Tests] Move deflate truncation testing into a separate file
...
Also add test files that contain only "deflated" data.
2026-02-26 00:25:24 +08:00
Timofey Solomko
08e10e8c45
[Tests] Add a more comprehensive GZip truncation test
2026-02-25 23:44:41 +08:00
Timofey Solomko
fd42e30262
[Tests] Add a more comprehensive Zlib truncation test
2026-02-24 00:59:15 +08:00
Timofey Solomko
7b366f7df4
[Tests] Add a more comprehensive LZ4 truncation test
2026-02-24 00:50:23 +08:00
Timofey Solomko
e8c8ccb3f2
[Tests] Add a test for BZip2 truncation handling
...
The idea here is that BZip2.decompress should not crash for any possible truncation. It should either throw an error or produce an output (if stars align such that truncated input is still a valid BZip2 "archive").
2026-02-24 00:44:54 +08:00
Timofey Solomko
ea9aaccfb9
Update copyright year to 2026
2026-01-31 15:30:24 +08:00
Timofey Solomko
5ff7317a2f
[Tests] Fix modifying data in memory crashes on Swift 5.9+
...
The option mappedIfSafe used in loading test data seems to be actually mapping data into memory, which makes modifying data in place cause crashes.
2024-12-15 11:24:55 +02:00
Timofey Solomko
fa4af5803a
[TAR] Remove compatibility functions for FileHandle
2024-04-21 17:18:53 +03:00
Timofey Solomko
ed66991cbd
Update copyright year to 2024
2024-01-11 16:57:04 +03:00
Timofey Solomko
43132fc39d
Update copyright year to 2023
2023-02-07 15:31:45 +02:00
Timofey Solomko
52540577ea
[Tests] Check returning nil from TarReader after reaching EOF
2022-12-17 19:02:19 +03:00
Timofey Solomko
ae1ea65882
[Tests] Add a test that helped uncover incorrect BWT pointer issue
2022-12-15 23:25:42 +03:00
Timofey Solomko
747035ffe1
[Tests] Add a test for a PAX header with a newline character inside a record value
2022-10-22 18:44:46 +03:00
Timofey Solomko
0c80ccedf2
[Tests] Correctly check for error type in Deflate truncation testing
2022-10-21 19:28:13 +03:00
Timofey Solomko
df55c2e4e2
[Tests] Add tests for truncation GZip-specific parts
2022-10-21 19:27:53 +03:00
Timofey Solomko
facedfd3a1
[Tests] Expand extra field in extra field GZip test
...
In addition, prevent potential crashes in tests when an extra field incorrectly parsed.
2022-10-21 18:58:03 +03:00
Timofey Solomko
d0479a19e7
[Tests] Change gzip archive test to also generate a random extra field
2022-10-14 20:26:04 +03:00
Timofey Solomko
31d5839e71
[Tests] Add tests for gzip header's extra fields and other optional format features
2022-10-14 20:02:02 +03:00
Timofey Solomko
52886a0bbf
[TAR] Remove compatibility with pre-Swift 5.2 compilers
2022-09-24 13:25:46 +03:00
Timofey Solomko
1de0d9bd04
[Tests] Report test details on failures in deflate truncation tests
2022-05-21 23:00:57 +03:00
Timofey Solomko
f06858029b
[Tests] Add a test for deflate truncations
2022-05-21 20:15:03 +03:00
Timofey Solomko
d63fb86f49
[Tests] Add a test for the minimal GZip file and other edge cases
2022-05-17 13:31:58 +03:00
Timofey Solomko
1b7a28b319
Add benchmark results for 4.8.0 including TAR Reader/Writer
2022-01-24 00:26:26 +03:00
Timofey Solomko
939f08abad
[Tests] Add a test for BZip2 truncated in the middle of a Huffman symbol
2022-01-20 22:09:55 +03:00
Timofey Solomko
3388cb047b
[TAR] Rename the second argument of TarWriter.init to force
...
This is for consistency with TarContainer.create.
2022-01-09 14:17:00 +03:00
Timofey Solomko
3508148fd7
[Tests] Add tests for TarWriter
2022-01-09 14:08:53 +03:00
Timofey Solomko
cc408864f8
[Tests] Add many tests for TarReader
2022-01-08 23:26:55 +03:00
Timofey Solomko
8abe3b1077
[Tests] Close FileHandle properly in TAR tests
2022-01-08 16:15:41 +03:00
Timofey Solomko
79295db930
Update copyright year to 2022
2022-01-08 15:02:59 +03:00
Timofey Solomko
245f043025
[Tests] Move TarReader/Writer tests into their own files
2022-01-08 14:43:44 +03:00
Timofey Solomko
fe9453173a
[TAR] Rename TarReader.next() to read()
2022-01-08 14:33:40 +03:00
Timofey Solomko
643f2c9866
[TAR] Remove argument label from TarWriter.append
2021-11-21 12:36:56 +03:00
Timofey Solomko
44a0cc637d
[Tests] Add a simple test for TarWriter
2021-11-20 23:45:27 +03:00
Timofey Solomko
2ca4bcf3af
[Tests] Add a simple test for TarReader
2021-11-20 12:29:05 +03:00
Timofey Solomko
993c36c509
[Tests] Add a function which returns a file handle to the test file
2021-11-20 12:28:52 +03:00
Timofey Solomko
498d679062
Update Results.md for 4.7.0
2021-11-01 23:49:31 +03:00
Timofey Solomko
a3332364a7
[Tests] Add many tests that check that checksum errors are thrown correctly
2021-10-29 19:26:33 +03:00
Timofey Solomko
20e8db701f
[Tests] Add a test for correct usage of CP437 in ZIP
2021-10-28 19:54:25 +03:00
Timofey Solomko
4fa84e0546
[Tests] Add small string tests for Deflate
2021-10-27 07:53:30 +03:00
Timofey Solomko
4443fd1339
[Tests] Add a test for correct match index behavior in Deflate compression
2021-10-24 15:05:04 +03:00
Timofey Solomko
aa9377b5f5
[Tests] Print compression ratios only with 3 figures after the dot
2021-10-20 15:02:52 +03:00
Timofey Solomko
7877ad9e35
[Tests] Add lz4 test for even smaller input
2021-10-20 15:02:26 +03:00
Timofey Solomko
f2be0db44f
[Tests] Add a small test for fixed incorrect matching in LZ4 compression
2021-10-17 15:45:11 +03:00