SharpCompress/tests/SharpCompress.Test
copilot-swe-agent[bot] 88b3a66bf9 Fix Windows test failures in SharpCompressStreamTests
ArrayPool.Rent() can return buffers larger than requested. The tests were using test.Length (the actual buffer size) instead of the requested size (0x1000), causing failures on Windows where ArrayPool returns larger buffers than on Linux.

Fixed by:
- Using explicit size (0x1000) instead of test.Length in Read() calls
- Using test.Take(0x1000) instead of test when comparing arrays

Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com>
2025-10-29 13:40:44 +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
Compressors/Rar entrystream fixes and fmt 2025-10-29 08:41:05 +00:00
Filters Update dependencies and csharpier 2025-10-13 10:40:43 +01:00
GZip entrystream fixes and fmt 2025-10-29 08:41:05 +00:00
Mocks add async to forward only streams 2025-10-28 11:30:12 +00:00
Rar add archive tests 2025-10-29 09:08:08 +00:00
SevenZip Add support for CompressionType.None for uncompressed 7z files 2025-10-27 11:11:38 +00:00
Streams Fix Windows test failures in SharpCompressStreamTests 2025-10-29 13:40:44 +00: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 add rarcrc tests 2025-10-28 16:48:05 +00:00
ADCTest.cs more clean up on tests 2024-03-14 08:53:08 +00:00
ArchiveTests.cs add tar specific tests 2025-10-27 10:46:08 +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