public class TestTimeoutExceptionInjector extends Object
TimeoutExceptionInjector to ensure we fulfill contracts| Constructor and Description |
|---|
TestTimeoutExceptionInjector() |
| Modifier and Type | Method and Description |
|---|---|
void |
testStartAfterComplete()
Demonstrate TimeoutExceptionInjector semantics -- completion means no more exceptions passed to
error listener.
|
void |
testStartAfterTrigger()
Demonstrate TimeoutExceptionInjector semantics -- triggering fires exception and completes
the timer.
|
void |
testTimerPassesOnErrorInfo()
Test that a manually triggered exception with data fires with the data in receiveError.
|
void |
testTimerTrigger()
Test that a manually triggered timer fires an exception.
|
public void testTimerTrigger()
public void testTimerPassesOnErrorInfo()
public void testStartAfterComplete()
throws InterruptedException
InterruptedExceptionpublic void testStartAfterTrigger()
throws InterruptedException
InterruptedException