Skip to content

Conversation

ZacSweers
Copy link
Collaborator

In happy cases, AutoDisposing observers should effectively have identical behavior, so borrowing this test. Still one kink to work out with handling bad onSubscribes, but putting this up to start and get eyes. Once LambdaObserverTest is good to go, I'll add LambdaSubscriberTest.

Note this depends on #1

s.onSubscribe(s2);

assertFalse(s1.isDisposed());
assertTrue(s2.isDisposed());
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@tonycosentini this is the one that fails, but I'm not totally sure what's going on with it or what this is testing. Want to take a look?

@ZacSweers ZacSweers added the Test label Dec 28, 2016
@ZacSweers
Copy link
Collaborator Author

Going to revisit this after #29 is in

In happy cases, AutoDisposing observers should effectively have identical behavior, so borrowing this test. Still one kink to work out with handling bad onSubscribes, but putting this up to start and get eyes. Once `LambdaObserverTest` is good to go, I'll add LambdaSubscriberTest
@ZacSweers ZacSweers force-pushed the z/lambdaObserverTest branch from 4ed1721 to 1dc078f Compare February 26, 2017 05:42
@ZacSweers ZacSweers merged commit 0638fc2 into master Feb 26, 2017
@ZacSweers ZacSweers deleted the z/lambdaObserverTest branch February 26, 2017 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants