Skip to content

2.x: Factor out typical TestObserver/TestSubscriber methods#4609

Merged
akarnokd merged 2 commits into
ReactiveX:2.xfrom
akarnokd:BaseTestConsumer
Sep 26, 2016
Merged

2.x: Factor out typical TestObserver/TestSubscriber methods#4609
akarnokd merged 2 commits into
ReactiveX:2.xfrom
akarnokd:BaseTestConsumer

Conversation

@akarnokd

Copy link
Copy Markdown
Member

This PR introduces a new abstract internal class BaseTestConsumer which now hosts the assertX methods of TestSubscriber and TestObserver which were duplicates before.

@akarnokd akarnokd added this to the 2.0 RC4 milestone Sep 26, 2016
@akarnokd

Copy link
Copy Markdown
Member Author

The drawback is that the generated javadoc doesn't have the method documentation and doesn't reference BaseTestConsumer because it's in the internal zone. I can move it to the public zone so the javadoc links work:

image

@codecov-io

codecov-io commented Sep 26, 2016

Copy link
Copy Markdown

Current coverage is 78.12% (diff: 99.02%)

Merging #4609 into 2.x will decrease coverage by 0.06%

@@                2.x      #4609   diff @@
==========================================
  Files           552        553     +1   
  Lines         36327      36128   -199   
  Methods           0          0          
  Messages          0          0          
  Branches       5611       5559    -52   
==========================================
- Hits          28405      28225   -180   
+ Misses         5908       5890    -18   
+ Partials       2014       2013     -1   

Powered by Codecov. Last update 4f0791f...d0fab71

@akarnokd akarnokd merged commit d85d40e into ReactiveX:2.x Sep 26, 2016
@akarnokd akarnokd deleted the BaseTestConsumer branch September 26, 2016 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants