Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BackpressureChannelFileIO: Show example tests & fix bug #51

Merged
merged 3 commits into from May 15, 2020

Conversation

weissi
Copy link
Member

@weissi weissi commented May 15, 2020

The BackpressureChannelToFileIO demo became quite popular but I haven't
seen people writing tests. Also, the example actually had one bug
(receiving an error whilst writing) which would lead to followon bugs.

Therefore, I thought we should demonstrate 100% test coverage of the
state machine (whilst fixing the bug).

The BackpressureChannelToFileIO demo became quite popular but I haven't
seen people writing tests. Also, the example actually had one bug
(receiving an error whilst writing) which would lead to followon bugs.

Therefore, I thought we should demonstrate 100% test coverage of the
state machine (whilst fixing the bug).
@weissi weissi requested review from Lukasa and glbrntt May 15, 2020 15:02
Copy link
Contributor

@glbrntt glbrntt left a comment

Choose a reason for hiding this comment

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

LGTM

weissi and others added 2 commits May 15, 2020 18:01
…Tests/StateMachineTest.swift

Co-authored-by: George Barnett <gbrntt@gmail.com>
…IO/FileIOChannelWriteCoordinator.swift

Co-authored-by: George Barnett <gbrntt@gmail.com>
@weissi
Copy link
Member Author

weissi commented May 15, 2020

thanks @glbrntt , suggestions applied!

@weissi weissi merged commit 668414f into apple:master May 15, 2020
@weissi weissi deleted the jw-show-tests branch May 15, 2020 17:01
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.

None yet

3 participants