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

Test methods in subscribe proxies #160

Merged

Conversation

VisheshVadhera
Copy link
Contributor

Closes #137

@VisheshVadhera VisheshVadhera changed the title Vishesh/test method in subscribe proxies Test methods in subscribe proxies Jan 17, 2018
@@ -80,6 +81,21 @@ public CompletableScoper(Maybe<?> lifecycle) {
@Override public <E extends CompletableObserver> E subscribeWith(E observer) {
return new AutoDisposeCompletable(maybeSource, scope()).subscribeWith(observer);
}

@Override public TestObserver<Void> test() {
Copy link
Collaborator

Choose a reason for hiding this comment

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

These are missing javadocs

Copy link
Collaborator

Choose a reason for hiding this comment

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

actually nevermind missed this was the implementation and not the interface

*
* @return a {@link TestObserver}
*/
@CheckReturnValue TestObserver<Void> test();
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you change these javadocs to match the others and link the corresponding methods they're mirroring?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Alright!

Copy link
Collaborator

@ZacSweers ZacSweers left a comment

Choose a reason for hiding this comment

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

Thanks!

@ZacSweers ZacSweers merged commit 61098a2 into uber:master Jan 18, 2018
@ZacSweers ZacSweers mentioned this pull request Feb 4, 2018
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.

2 participants