Skip to content

Conversation

@stephentoub
Copy link
Member

I previously added a stream test suite for streams that could be created in a connected fashion, such that writing to one stream yields data that can be read by another. That enabled testing of a bunch of streams like NetworkStream, SslStream, BufferedStream, etc., even FileStream when wrapped around a pipe.

This PR augments the suite for standalone streams that aren't connected in that fashion. This includes MemoryStream, FileStream for on-disk files, UnmanagedMemoryStream, MemoryMappedViewStream, etc. As with the previous PR, even though it's adding a lot of coverage, total line count is reduced, because it's consolidating tests that were unique to an individual test suite.

I also added a couple of tests to the existing connected suite.

cc: @geoffkizer, @carlossanlop, @jozkee

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants