Skip to content

Commit 293b662

Browse files
committed
Merge pull request reactive-streams#130 from ktoso/wip-merged-rules-213-214-ktoso
=tck reactive-streams#128 TCK updated to reflect merged rules 2.13 and 2.14
2 parents 932e47e + 6b6d98b commit 293b662

File tree

3 files changed

+4
-21
lines changed

3 files changed

+4
-21
lines changed

tck/src/main/java/org/reactivestreams/tck/IdentityProcessorVerification.java

+2-7
Original file line numberDiff line numberDiff line change
@@ -533,13 +533,8 @@ public void spec212_mustNotCallOnSubscribeMoreThanOnceBasedOnObjectEquality() th
533533
}
534534

535535
@Test
536-
public void spec213_failingOnCompleteInvocation() throws Exception {
537-
subscriberVerification.spec213_failingOnCompleteInvocation();
538-
}
539-
540-
@Test
541-
public void spec214_failingOnErrorInvocation() throws Exception {
542-
subscriberVerification.spec214_failingOnErrorInvocation();
536+
public void spec213_failingOnSignalInvocation() throws Exception {
537+
subscriberVerification.spec213_failingOnSignalInvocation();
543538
}
544539

545540
@Test

tck/src/main/java/org/reactivestreams/tck/SubscriberBlackboxVerification.java

+1-7
Original file line numberDiff line numberDiff line change
@@ -287,13 +287,7 @@ public void spec212_blackbox_mustNotCallOnSubscribeMoreThanOnceBasedOnObjectEqua
287287

288288
// Verifies rule: https://github.com/reactive-streams/reactive-streams#2.13
289289
@NotVerified @Test
290-
public void spec213_blackbox_failingOnCompleteInvocation() throws Exception {
291-
notVerified(); // cannot be meaningfully tested, or can it?
292-
}
293-
294-
// Verifies rule: https://github.com/reactive-streams/reactive-streams#2.14
295-
@NotVerified @Test
296-
public void spec214_blackbox_failingOnErrorInvocation() throws Exception {
290+
public void spec213_blackbox_failingOnSignalInvocation() throws Exception {
297291
notVerified(); // cannot be meaningfully tested, or can it?
298292
}
299293

tck/src/main/java/org/reactivestreams/tck/SubscriberWhiteboxVerification.java

+1-7
Original file line numberDiff line numberDiff line change
@@ -359,13 +359,7 @@ public void run(WhiteboxTestStage stage) throws Exception {
359359

360360
// Verifies rule: https://github.com/reactive-streams/reactive-streams#2.13
361361
@NotVerified @Test
362-
public void spec213_failingOnCompleteInvocation() throws Exception {
363-
notVerified(); // cannot be meaningfully tested, or can it?
364-
}
365-
366-
// Verifies rule: https://github.com/reactive-streams/reactive-streams#2.14
367-
@NotVerified @Test
368-
public void spec214_failingOnErrorInvocation() throws Exception {
362+
public void spec213_failingOnSignalInvocation() throws Exception {
369363
notVerified(); // cannot be meaningfully tested, or can it?
370364
}
371365

0 commit comments

Comments
 (0)