@@ -67,7 +67,7 @@ public void setUp() throws Exception {
67
67
68
68
// Verifies rule: https://github.com/reactive-streams/reactive-streams#2.1
69
69
@ Override @ Test
70
- public void required___spec201_blackbox_mustSignalDemandViaSubscriptionRequest () throws Throwable {
70
+ public void required_spec201_blackbox_mustSignalDemandViaSubscriptionRequest () throws Throwable {
71
71
blackboxSubscriberTest (new BlackboxTestStageTestRun () {
72
72
@ Override
73
73
public void run (BlackboxTestStage stage ) throws InterruptedException {
@@ -82,13 +82,13 @@ public void run(BlackboxTestStage stage) throws InterruptedException {
82
82
83
83
// Verifies rule: https://github.com/reactive-streams/reactive-streams#2.2
84
84
@ Override @ Test
85
- public void unverified___spec202_blackbox_shouldAsynchronouslyDispatch () throws Exception {
85
+ public void untested_spec202_blackbox_shouldAsynchronouslyDispatch () throws Exception {
86
86
notVerified (); // cannot be meaningfully tested, or can it?
87
87
}
88
88
89
89
// Verifies rule: https://github.com/reactive-streams/reactive-streams#2.3
90
90
@ Override @ Test
91
- public void required___spec203_blackbox_mustNotCallMethodsOnSubscriptionOrPublisherInOnComplete () throws Throwable {
91
+ public void required_spec203_blackbox_mustNotCallMethodsOnSubscriptionOrPublisherInOnComplete () throws Throwable {
92
92
blackboxSubscriberWithoutSetupTest (new BlackboxTestStageTestRun () {
93
93
@ Override
94
94
public void run (BlackboxTestStage stage ) throws Throwable {
@@ -125,7 +125,7 @@ public void cancel() {
125
125
126
126
// Verifies rule: https://github.com/reactive-streams/reactive-streams#2.3
127
127
@ Override @ Test
128
- public void required___spec203_blackbox_mustNotCallMethodsOnSubscriptionOrPublisherInOnError () throws Throwable {
128
+ public void required_spec203_blackbox_mustNotCallMethodsOnSubscriptionOrPublisherInOnError () throws Throwable {
129
129
blackboxSubscriberWithoutSetupTest (new BlackboxTestStageTestRun () {
130
130
@ Override
131
131
public void run (BlackboxTestStage stage ) throws Throwable {
@@ -164,13 +164,13 @@ public void cancel() {
164
164
165
165
// Verifies rule: https://github.com/reactive-streams/reactive-streams#2.4
166
166
@ Override @ Test
167
- public void unverified___spec204_blackbox_mustConsiderTheSubscriptionAsCancelledInAfterRecievingOnCompleteOrOnError () throws Exception {
167
+ public void untested_spec204_blackbox_mustConsiderTheSubscriptionAsCancelledInAfterRecievingOnCompleteOrOnError () throws Exception {
168
168
notVerified (); // cannot be meaningfully tested, or can it?
169
169
}
170
170
171
171
// Verifies rule: https://github.com/reactive-streams/reactive-streams#2.5
172
172
@ Override @ Test
173
- public void required___spec205_blackbox_mustCallSubscriptionCancelIfItAlreadyHasAnSubscriptionAndReceivesAnotherOnSubscribeSignal () throws Exception {
173
+ public void required_spec205_blackbox_mustCallSubscriptionCancelIfItAlreadyHasAnSubscriptionAndReceivesAnotherOnSubscribeSignal () throws Exception {
174
174
new BlackboxTestStage (env ) {{
175
175
// try to subscribe another time, if the subscriber calls `probe.registerOnSubscribe` the test will fail
176
176
final TestEnvironment .Latch secondSubscriptionCancelled = new TestEnvironment .Latch (env );
@@ -199,26 +199,26 @@ public String toString() {
199
199
200
200
// Verifies rule: https://github.com/reactive-streams/reactive-streams#2.6
201
201
@ Override @ Test
202
- public void unverified___spec206_blackbox_mustCallSubscriptionCancelIfItIsNoLongerValid () throws Exception {
202
+ public void untested_spec206_blackbox_mustCallSubscriptionCancelIfItIsNoLongerValid () throws Exception {
203
203
notVerified (); // cannot be meaningfully tested, or can it?
204
204
}
205
205
206
206
// Verifies rule: https://github.com/reactive-streams/reactive-streams#2.7
207
207
@ Override @ Test
208
- public void unverified___spec207_blackbox_mustEnsureAllCallsOnItsSubscriptionTakePlaceFromTheSameThreadOrTakeCareOfSynchronization () throws Exception {
208
+ public void untested_spec207_blackbox_mustEnsureAllCallsOnItsSubscriptionTakePlaceFromTheSameThreadOrTakeCareOfSynchronization () throws Exception {
209
209
notVerified (); // cannot be meaningfully tested, or can it?
210
210
// the same thread part of the clause can be verified but that is not very useful, or is it?
211
211
}
212
212
213
213
// Verifies rule: https://github.com/reactive-streams/reactive-streams#2.8
214
214
@ Override @ Test
215
- public void unverified___spec208_blackbox_mustBePreparedToReceiveOnNextSignalsAfterHavingCalledSubscriptionCancel () throws Throwable {
215
+ public void untested_spec208_blackbox_mustBePreparedToReceiveOnNextSignalsAfterHavingCalledSubscriptionCancel () throws Throwable {
216
216
notVerified (); // cannot be meaningfully tested as black box, or can it?
217
217
}
218
218
219
219
// Verifies rule: https://github.com/reactive-streams/reactive-streams#2.9
220
220
@ Override @ Test
221
- public void required___spec209_blackbox_mustBePreparedToReceiveAnOnCompleteSignalWithPrecedingRequestCall () throws Throwable {
221
+ public void required_spec209_blackbox_mustBePreparedToReceiveAnOnCompleteSignalWithPrecedingRequestCall () throws Throwable {
222
222
blackboxSubscriberWithoutSetupTest (new BlackboxTestStageTestRun () {
223
223
@ Override
224
224
public void run (BlackboxTestStage stage ) throws Throwable {
@@ -238,7 +238,7 @@ public void run(BlackboxTestStage stage) throws Throwable {
238
238
239
239
// Verifies rule: https://github.com/reactive-streams/reactive-streams#2.9
240
240
@ Override @ Test
241
- public void required___spec209_blackbox_mustBePreparedToReceiveAnOnCompleteSignalWithoutPrecedingRequestCall () throws Throwable {
241
+ public void required_spec209_blackbox_mustBePreparedToReceiveAnOnCompleteSignalWithoutPrecedingRequestCall () throws Throwable {
242
242
blackboxSubscriberWithoutSetupTest (new BlackboxTestStageTestRun () {
243
243
@ Override
244
244
public void run (BlackboxTestStage stage ) throws Throwable {
@@ -262,7 +262,7 @@ public void subscribe(Subscriber<? super T> s) {
262
262
263
263
// Verifies rule: https://github.com/reactive-streams/reactive-streams#2.10
264
264
@ Override @ Test
265
- public void required___spec210_blackbox_mustBePreparedToReceiveAnOnErrorSignalWithPrecedingRequestCall () throws Throwable {
265
+ public void required_spec210_blackbox_mustBePreparedToReceiveAnOnErrorSignalWithPrecedingRequestCall () throws Throwable {
266
266
blackboxSubscriberTest (new BlackboxTestStageTestRun () {
267
267
@ Override
268
268
@ SuppressWarnings ("ThrowableResultOfMethodCallIgnored" )
@@ -275,63 +275,63 @@ public void run(BlackboxTestStage stage) throws Throwable {
275
275
276
276
// Verifies rule: https://github.com/reactive-streams/reactive-streams#2.11
277
277
@ Override @ Test
278
- public void unverified___spec211_blackbox_mustMakeSureThatAllCallsOnItsMethodsHappenBeforeTheProcessingOfTheRespectiveEvents () throws Exception {
278
+ public void untested_spec211_blackbox_mustMakeSureThatAllCallsOnItsMethodsHappenBeforeTheProcessingOfTheRespectiveEvents () throws Exception {
279
279
notVerified (); // cannot be meaningfully tested, or can it?
280
280
}
281
281
282
282
// Verifies rule: https://github.com/reactive-streams/reactive-streams#2.12
283
283
@ Override @ Test
284
- public void required___spec212_blackbox_mustNotCallOnSubscribeMoreThanOnceBasedOnObjectEquality () throws Throwable {
284
+ public void untested_spec212_blackbox_mustNotCallOnSubscribeMoreThanOnceBasedOnObjectEquality () throws Throwable {
285
285
notVerified (); // cannot be meaningfully tested as black box, or can it?
286
286
}
287
287
288
288
// Verifies rule: https://github.com/reactive-streams/reactive-streams#2.13
289
289
@ Override @ Test
290
- public void unverified___spec213_blackbox_failingOnSignalInvocation () throws Exception {
290
+ public void untested_spec213_blackbox_failingOnSignalInvocation () throws Exception {
291
291
notVerified (); // cannot be meaningfully tested, or can it?
292
292
}
293
293
294
294
////////////////////// SUBSCRIPTION SPEC RULE VERIFICATION //////////////////
295
295
296
296
// Verifies rule: https://github.com/reactive-streams/reactive-streams#3.1
297
297
@ Override @ Test
298
- public void unverified___spec301_blackbox_mustNotBeCalledOutsideSubscriberContext () throws Exception {
298
+ public void untested_spec301_blackbox_mustNotBeCalledOutsideSubscriberContext () throws Exception {
299
299
notVerified (); // cannot be meaningfully tested, or can it?
300
300
}
301
301
302
302
// Verifies rule: https://github.com/reactive-streams/reactive-streams#3.8
303
303
@ Override @ Test
304
- public void required___spec308_blackbox_requestMustRegisterGivenNumberElementsToBeProduced () throws Throwable {
304
+ public void required_spec308_blackbox_requestMustRegisterGivenNumberElementsToBeProduced () throws Throwable {
305
305
notVerified (); // cannot be meaningfully tested as black box, or can it?
306
306
}
307
307
308
308
// Verifies rule: https://github.com/reactive-streams/reactive-streams#3.10
309
309
@ Override @ Test
310
- public void unverified___spec310_blackbox_requestMaySynchronouslyCallOnNextOnSubscriber () throws Exception {
310
+ public void untested_spec310_blackbox_requestMaySynchronouslyCallOnNextOnSubscriber () throws Exception {
311
311
notVerified (); // cannot be meaningfully tested, or can it?
312
312
}
313
313
314
314
// Verifies rule: https://github.com/reactive-streams/reactive-streams#3.11
315
315
@ Override @ Test
316
- public void unverified___spec311_blackbox_requestMaySynchronouslyCallOnCompleteOrOnError () throws Exception {
316
+ public void untested_spec311_blackbox_requestMaySynchronouslyCallOnCompleteOrOnError () throws Exception {
317
317
notVerified (); // cannot be meaningfully tested, or can it?
318
318
}
319
319
320
320
// Verifies rule: https://github.com/reactive-streams/reactive-streams#3.14
321
321
@ Override @ Test
322
- public void unverified___spec314_blackbox_cancelMayCauseThePublisherToShutdownIfNoOtherSubscriptionExists () throws Exception {
322
+ public void untested_spec314_blackbox_cancelMayCauseThePublisherToShutdownIfNoOtherSubscriptionExists () throws Exception {
323
323
notVerified (); // cannot be meaningfully tested, or can it?
324
324
}
325
325
326
326
// Verifies rule: https://github.com/reactive-streams/reactive-streams#3.15
327
327
@ Override @ Test
328
- public void unverified___spec315_blackbox_cancelMustNotThrowExceptionAndMustSignalOnError () throws Exception {
328
+ public void untested_spec315_blackbox_cancelMustNotThrowExceptionAndMustSignalOnError () throws Exception {
329
329
notVerified (); // cannot be meaningfully tested, or can it?
330
330
}
331
331
332
332
// Verifies rule: https://github.com/reactive-streams/reactive-streams#3.16
333
333
@ Override @ Test
334
- public void unverified___spec316_blackbox_requestMustNotThrowExceptionAndMustOnErrorTheSubscriber () throws Exception {
334
+ public void untested_spec316_blackbox_requestMustNotThrowExceptionAndMustOnErrorTheSubscriber () throws Exception {
335
335
notVerified (); // cannot be meaningfully tested, or can it?
336
336
}
337
337
0 commit comments