public class MonoSubscriberTest
extends java.lang.Object
构造器和说明 |
---|
MonoSubscriberTest() |
限定符和类型 | 方法和说明 |
---|---|
void |
clear() |
void |
completeCancelRace() |
void |
issue1719() |
void |
queueSubscriptionAsyncRejected() |
void |
queueSubscriptionSyncRejected() |
static void |
race(java.lang.Runnable r1,
java.lang.Runnable r2,
Scheduler s)
Synchronizes the execution of two runnables (as much as possible)
to test race conditions.
|
void |
requestCancelRace() |
void |
requestClearRace() |
@Test public void queueSubscriptionSyncRejected()
@Test public void queueSubscriptionAsyncRejected()
@Test public void clear()
@Test public void completeCancelRace()
@Test public void requestClearRace()
@Test public void requestCancelRace()
public static void race(java.lang.Runnable r1, java.lang.Runnable r2, Scheduler s)
The method blocks until both have run to completion.
r1
- the first runnabler2
- the second runnables
- the scheduler to use@Test public void issue1719()