File tree 3 files changed +2
-28
lines changed
examples/src/test/java/org/reactivestreams/example/unicast
tck/src/main/java/org/reactivestreams/tck
3 files changed +2
-28
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,4 @@ public AsyncSubscriberTest() {
60
60
return element ;
61
61
}
62
62
63
- @ Override public Publisher <Integer > createHelperPublisher (long elements ) {
64
- return super .createHelperPublisher (elements );
65
- }
66
63
}
Original file line number Diff line number Diff line change @@ -124,28 +124,6 @@ public boolean skipStochasticTests() {
124
124
*/
125
125
public abstract Processor <T , T > createIdentityProcessor (int bufferSize );
126
126
127
- /**
128
- * Helper method required for creating the Publisher to which the tested Subscriber will be subscribed and tested against.
129
- * <p>
130
- * By default an <b>asynchronously signalling Publisher</b> is provided, which will use
131
- * {@link org.reactivestreams.tck.SubscriberBlackboxVerification#createElement(int)} to generate elements type
132
- * your Subscriber is able to consume.
133
- * <p>
134
- * Sometimes you may want to implement your own custom custom helper Publisher - to validate behaviour of a Subscriber
135
- * when facing a synchronous Publisher for example. If you do, it MUST emit the exact number of elements asked for
136
- * (via the {@code elements} parameter) and MUST also must treat the following numbers of elements in these specific ways:
137
- * <ul>
138
- * <li>
139
- * If {@code elements} is {@code Long.MAX_VALUE} the produced stream must be infinite.
140
- * </li>
141
- * <li>
142
- * If {@code elements} is {@code 0} the {@code Publisher} should signal {@code onComplete} immediatly.
143
- * In other words, it should represent a "completed stream".
144
- * </li>
145
- * </ul>
146
- */
147
- public abstract Publisher <T > createHelperPublisher (long elements );
148
-
149
127
/**
150
128
* Return a Publisher that immediately signals {@code onError} to incoming subscriptions,
151
129
* or {@code null} in order to skip them.
Original file line number Diff line number Diff line change @@ -38,9 +38,8 @@ public abstract class WithHelperPublisher<T> {
38
38
/**
39
39
* Helper method required for creating the Publisher to which the tested Subscriber will be subscribed and tested against.
40
40
* <p>
41
- * By default an <b>asynchronously signalling Publisher</b> is provided, which will use
42
- * {@link org.reactivestreams.tck.SubscriberBlackboxVerification#createElement(int)} to generate elements type
43
- * your Subscriber is able to consume.
41
+ * By default an <b>asynchronously signalling Publisher</b> is provided, which will use {@link #createElement(int)}
42
+ * to generate elements type your Subscriber is able to consume.
44
43
* <p>
45
44
* Sometimes you may want to implement your own custom custom helper Publisher - to validate behaviour of a Subscriber
46
45
* when facing a synchronous Publisher for example. If you do, it MUST emit the exact number of elements asked for
You can’t perform that action at this time.
0 commit comments