Skip to content

2.x: Add error assertion with predicate to TestSubscriber and TestObserver#4586

Merged
akarnokd merged 2 commits intoReactiveX:2.xfrom
jraska:2.x
Sep 23, 2016
Merged

2.x: Add error assertion with predicate to TestSubscriber and TestObserver#4586
akarnokd merged 2 commits intoReactiveX:2.xfrom
jraska:2.x

Conversation

@jraska
Copy link
Contributor

@jraska jraska commented Sep 22, 2016

Added support for error assertions with to TestSubscriber requested in #4498 to support custom error evaluation. Removes the need to implement equals and hashCode in exceptions.

@akarnokd
Copy link
Member

Could you do it for TestObserver as well?

@jraska
Copy link
Contributor Author

jraska commented Sep 22, 2016

Sure. I will update the PR

@jraska jraska changed the title 2.x: Add error assertion with predicate to TestSubscriber 2.x: Add error assertion with predicate to TestSubscriber and TestObserver Sep 22, 2016
@codecov-io
Copy link

codecov-io commented Sep 23, 2016

Current coverage is 78.12% (diff: 100%)

Merging #4586 into 2.x will increase coverage by 0.03%

@@                2.x      #4586   diff @@
==========================================
  Files           552        552          
  Lines         36184      36220    +36   
  Methods           0          0          
  Messages          0          0          
  Branches       5584       5594    +10   
==========================================
+ Hits          28255      28296    +41   
+ Misses         5917       5913     -4   
+ Partials       2012       2011     -1   

Powered by Codecov. Last update 24448b4...0fef45f

@akarnokd akarnokd merged commit ffe49c3 into ReactiveX:2.x Sep 23, 2016
@akarnokd akarnokd added this to the 2.0 RC 3 milestone Sep 23, 2016
@akarnokd akarnokd mentioned this pull request Sep 23, 2016
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