Skip to content

Add ArcReaderAsync tests#1036

Merged
2 commits merged intomasterfrom
adam/arc-async-tests
Jan 12, 2026
Merged

Add ArcReaderAsync tests#1036
2 commits merged intomasterfrom
adam/arc-async-tests

Conversation

@adamhathcock
Copy link
Owner

related to #992

Copilot AI review requested due to automatic review settings November 25, 2025 15:03
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds asynchronous test coverage for Arc reader functionality, addressing issue #992. The changes include creating a new ArcReaderAsyncTests class and updating the test infrastructure to support nullable compression type parameters in async tests.

  • New ArcReaderAsyncTests class with three async test methods for different Arc compression types
  • Updated ReaderTests.cs to make the expectedCompression parameter nullable in async methods
  • Converted a synchronous reader call to async in WriterTests.cs
  • Cleaned up unused imports in ArcReaderTests.cs

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
tests/SharpCompress.Test/Arc/ArcReaderAsyncTests.cs New test class with async tests for Arc uncompressed, squeezed, and crunched archives
tests/SharpCompress.Test/ReaderTests.cs Modified async read methods to support nullable compression type parameter with conditional assertion logic
tests/SharpCompress.Test/WriterTests.cs Updated to use async API with cancellation token support
tests/SharpCompress.Test/Arc/ArcReaderTests.cs Removed unused using statements

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments