public class TestTimeout extends Object
| Modifier and Type | Field and Description |
|---|---|
TestRule |
timeout |
| Constructor and Description |
|---|
TestTimeout() |
| Modifier and Type | Method and Description |
|---|---|
void |
infiniteLoop()
Enable to check if timeout works.
|
void |
run1() |
public void run1()
throws InterruptedException
InterruptedExceptionpublic void infiniteLoop()