SharpCompress/tests/SharpCompress.Test
Daniel Nash d055b34efe Ensure TarArchive enumerates all entries
While enumerating the entries of a tar file and writing their contents
to disk using TarArchive, it was discovered TarArchive was not properly
discarding padding bytes in the last block of each entry. TarArchive was
sometimes able to recover depending on the number of padding bytes due
to the logic it uses to find the next entry header, but not always.

TarArchive was changed to use TarReadOnlySubStream when opening entries
and TarReadOnlySubstream was changed to ensure all an entry's blocks are
read when it is being disposed.

Fixes adamhathcock/sharpcompress#524
2020-07-20 12:57:39 -04:00
..
GZip Open test archives as read 2018-07-11 16:21:19 -07:00
Mocks Use soft tabs 2018-10-04 13:13:14 +02:00
Rar rename test 2020-07-01 15:10:21 +05:00
SevenZip Mk/add support for extracting password protected LZMA(2) 7z archives (#324) 2017-12-04 10:55:30 +00:00
Streams Move RewindableStreamTest.cs to the Streams/ folder 2018-07-10 12:07:33 -07:00
Tar Ensure TarArchive enumerates all entries 2020-07-20 12:57:39 -04:00
Xz Fix usings and add braces for better merging 2020-04-03 08:47:30 +01:00
Zip Add braces for clarity 2020-05-14 13:47:21 +01:00
ADCTest.cs Fix usings and add braces for better merging 2020-04-03 08:47:30 +01:00
ArchiveTests.cs - remove check of solid archive 2020-07-01 15:06:54 +05:00
ReaderTests.cs Move RarReaderTests over to user ReaderFactory 2018-07-12 10:32:08 -07:00
SharpCompress.Test.csproj Update github action and minor SDK bump 2020-06-25 09:16:15 +01:00
TestBase.cs Enable test parallelization and remove garbage collection workaround 2018-07-12 10:33:19 -07:00
WriterTests.cs Fix usings and add braces for better merging 2020-04-03 08:47:30 +01:00