Package org.reactivestreams.tck
package org.reactivestreams.tck
-
ClassDescriptionProvides tests for verifying
Publisher
specification rules.Provides tests for verifyingSubscriber
andSubscription
specification rules, without any modifications to the tested implementation (also known as "Black Box" testing).Provides whitebox style tests for verifyingSubscriber
andSubscription
specification rules.This class is intented to be used asSubscriber
decorator and should be used inpub.subscriber(...)
calls, in order to allow intercepting calls on the underlyingSubscriber
.Implement this puppet in your Whitebox style tests.Similar toTestEnvironment.ManualSubscriberWithSubscriptionSupport
but does not accumulate values signalled viaonNext
, thus it can not be used to assert values signalled to this subscriber.Like a CountDownLatch, but resettable and with some convenience methodsSubscriber
implementation which can be steered by test code and asserted on.Type which is able to create elements based on a seedid
value.