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

2.x: cleanup, fixes, coverage 10/20-1 #4736

Merged
merged 1 commit into from
Oct 20, 2016

Conversation

akarnokd
Copy link
Member

  • Finished covering Observable operators to a reasonable level (the remaining are either impossible or only reachable by probabilistic race)
  • Synced operator coverage between Observable and Flowable
  • Started covering Flowable operators
  • Cleaning up a few Flowable operators (cache, concatMap)
  • fix onBackpressureBuffer(long, Action, BufferOverflowStrategy) return type
  • fix concatMapDelayError wrong barrier mode selected

@codecov-io
Copy link

Current coverage is 92.98% (diff: 91.16%)

Merging #4736 into 2.x will increase coverage by 1.13%

@@                2.x      #4736   diff @@
==========================================
  Files           569        569          
  Lines         37209      37197    -12   
  Methods           0          0          
  Messages          0          0          
  Branches       5672       5674     +2   
==========================================
+ Hits          34177      34587   +410   
+ Misses         1757       1436   -321   
+ Partials       1275       1174   -101   

Powered by Codecov. Last update 869c855...b8b5e0b

* A reduce should fail with an NoSuchElementException if done on an empty Observable.
*/
@Test(expected = NoSuchElementException.class)
@Test
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't the body of this test change too? Maybe to test().assertComplete() or whatever?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, .assertResult() would be more apt here. Will do in the next batch.

@akarnokd akarnokd merged commit 42ca8c4 into ReactiveX:2.x Oct 20, 2016
@akarnokd akarnokd deleted the Cleanup_10_20_1 branch October 20, 2016 15:31
}

@Test
public void slowPathRebatch() {
Copy link
Collaborator

Choose a reason for hiding this comment

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

how is this one different from the one above?

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy-paste error, should not have filter there

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.

4 participants