Closed
Description
Currently, none of the the SubscriberWhiteboxVerification
tests check whether WhiteboxSubscriberProbe.registerOnSubscribe
is invoked before it starts trying to use the puppet supplied by that invocation. So, if it wasn't invoked, it just throws an NPE:
java.lang.NullPointerException
at org.reactivestreams.tck.SubscriberWhiteboxVerification$1.run(SubscriberWhiteboxVerification.java:83)
at org.reactivestreams.tck.SubscriberWhiteboxVerification.subscriberTest(SubscriberWhiteboxVerification.java:497)
at org.reactivestreams.tck.SubscriberWhiteboxVerification.required_exerciseWhiteboxHappyPath(SubscriberWhiteboxVerification.java:80)
It would be nice if this was checked, and a meaningful error message (saying that registerOnSubscribe
hasn't been invoked) was thrown.
Metadata
Metadata
Assignees
Labels
No labels