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

Give WorkflowTester a sendInput method to update the root workflow-un… #315

Merged
merged 1 commit into from
Apr 23, 2019

Conversation

zach-klippenstein
Copy link
Collaborator

…der-test's input.

@zach-klippenstein zach-klippenstein added this to the v0.15.0 milestone Apr 23, 2019
@zach-klippenstein zach-klippenstein added this to In progress in Workflow (Kotlin) via automation Apr 23, 2019
@@ -46,7 +46,7 @@ class ChannelSubscriptionsIntegrationTest {
*/
private class SubscriberWorkflow(
private val channel: Channel<String>
) : StatefulWorkflow<Boolean, Boolean, ChannelUpdate<String>, (Boolean) -> Unit>() {
) : StatelessWorkflow<Boolean, ChannelUpdate<String>, Unit>() {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Makes this test workflow so much simpler!

Copy link
Collaborator

Choose a reason for hiding this comment

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

Nice

@@ -46,7 +46,7 @@ class ChannelSubscriptionsIntegrationTest {
*/
private class SubscriberWorkflow(
private val channel: Channel<String>
) : StatefulWorkflow<Boolean, Boolean, ChannelUpdate<String>, (Boolean) -> Unit>() {
) : StatelessWorkflow<Boolean, ChannelUpdate<String>, Unit>() {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nice

@zach-klippenstein zach-klippenstein merged commit 8196abf into master Apr 23, 2019
Workflow (Kotlin) automation moved this from In progress to Done Apr 23, 2019
@zach-klippenstein zach-klippenstein deleted the zachklipp/tester-input-stream branch April 23, 2019 23:31
@zach-klippenstein zach-klippenstein added the kotlin Affects the Kotlin library. label Mar 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kotlin Affects the Kotlin library.
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants