Skip to content

Correctly handle FileMode/FileAccess when creating MockFileStreams#618

Merged
fgreinacher merged 3 commits intoTestableIO:masterfrom
fgreinacher:fix/handle-filemode
Jun 20, 2020
Merged

Correctly handle FileMode/FileAccess when creating MockFileStreams#618
fgreinacher merged 3 commits intoTestableIO:masterfrom
fgreinacher:fix/handle-filemode

Conversation

@fgreinacher
Copy link
Copy Markdown
Contributor

Fixes #610

Breaking change:

MockFIleStream.StreamType and the related constructors are gone. The desired FileStream behavior should be specified by passing tje appropriate FileMode/FileAccess/FileOptions instead.

fgreinacher and others added 3 commits June 20, 2020 12:53
Fixes #610

Breaking change:

MockFileStream.StreamType and the related constructors are gone. The desired FileStream behavior should be specified by passing the appropriate FileMode/FileAccess/FileOptions instead.
@fgreinacher fgreinacher merged commit efef869 into TestableIO:master Jun 20, 2020
@fgreinacher fgreinacher deleted the fix/handle-filemode branch June 20, 2020 14:33
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.

Creating a filestream with FileAccess.Write returns true for CanRead using testinghelpers

1 participant