Rxjava: 3.x: Test consumer method renames

Created on 20 Jun 2019  路  2Comments  路  Source: ReactiveX/RxJava

The feedback for the test consumers called for a few method renames (#6153):

  • assertResult - test for values received followed by completion
  • assertFailure - test for values received followed by error
  • assertEmpty - test for no onNext/onError/onComplete signals
  • assertValuesOnly - test for values received but no termination
  • awaitDone - wait for termination via blocking or report timeout

Suggestions for better, more apt and hopefully not too long names are welcome.

3.x Discussion

Most helpful comment

I like the names as they are.

All 2 comments

I like the names as they are.

I like it too.

Was this page helpful?
0 / 5 - 0 ratings