-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
Conversation
Current coverage is 92.98% (diff: 91.16%)@@ 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
|
* A reduce should fail with an NoSuchElementException if done on an empty Observable. | ||
*/ | ||
@Test(expected = NoSuchElementException.class) | ||
@Test |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
} | ||
|
||
@Test | ||
public void slowPathRebatch() { |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
Observable
operators to a reasonable level (the remaining are either impossible or only reachable by probabilistic race)Observable
andFlowable
Flowable
operatorsFlowable
operators (cache, concatMap)onBackpressureBuffer(long, Action, BufferOverflowStrategy)
return typeconcatMapDelayError
wrong barrier mode selected