SharpCompress/tests/SharpCompress.Test
copilot-swe-agent[bot] db98e5f39b Fix ArchiveFactory.Open to avoid double-wrapping SharpCompressStream
Use SharpCompressStream.Create instead of constructor to properly handle
streams that are already wrapped. This prevents potential buffering issues
when opening ZIP files, particularly on Linux systems.

Added tests to verify both raw FileStream and pre-wrapped stream scenarios.

Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com>
2025-10-29 13:34:53 +00:00
..
Arc Trying to overcome differences in charpier versions... 2025-03-14 19:09:52 +01:00
BZip2 Throw exception when bzip2 is corrupt 2024-06-08 18:26:12 +02:00
Filters Update dependencies and csharpier 2025-10-13 10:40:43 +01:00
GZip Fix code formatting per CSharpier standards 2025-10-28 11:32:39 +00:00
Mocks add async to forward only streams 2025-10-28 11:30:12 +00:00
Rar Consolidate not null 2025-10-22 09:17:13 +01:00
SevenZip Add support for CompressionType.None for uncompressed 7z files 2025-10-27 11:11:38 +00:00
Streams Update dependencies and csharpier 2025-10-13 10:40:43 +01:00
Tar make test linux only 2025-10-28 12:18:05 +00:00
Xz Update dependencies and csharpier 2025-10-13 10:40:43 +01:00
Zip Merge branch 'master' into async-reader-methods 2025-10-28 11:39:35 +00:00
ADCTest.cs more clean up on tests 2024-03-14 08:53:08 +00:00
ArchiveTests.cs Fix ArchiveFactory.Open to avoid double-wrapping SharpCompressStream 2025-10-29 13:34:53 +00:00
ExceptionHierarchyTests.cs Format code with CSharpier 2025-10-28 11:13:51 +00:00
ExtractionTests.cs Address code review feedback: use RuntimeInformation for platform detection 2025-10-28 10:20:05 +00:00
OperatingSystemExtensions.cs fix and fmt 2024-04-23 09:16:05 +01:00
packages.lock.json Merge branch 'master' into adam/rework-deps 2025-10-22 10:48:16 +01:00
ReaderTests.cs add async tests 2025-10-27 12:34:24 +00:00
SharpCompress.Test.csproj make test linux only 2025-10-28 12:18:05 +00:00
SharpCompress.Test.snk signed test assembly 2025-01-15 04:43:16 +03:00
TestBase.cs Consolidate not null 2025-10-22 09:17:13 +01:00
UtilityTests.cs xplat tests for path characters 2025-10-22 10:21:22 +01:00
WriterTests.cs add tar specific tests 2025-10-27 10:46:08 +00:00