@Deprecated
public class TestUtils
extends java.lang.Object
Constructor and Description |
---|
TestUtils()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static void |
blockTillClockAdvances()
Deprecated.
Blocks until the System clock advances at least 1 millisecond.
|
static void |
sleep(long time)
Deprecated.
Since sleeps are sometimes necessary, this makes an easy way to ignore InterruptedException's.
|
public static void sleep(long time)
time
- time in milliseconds to make the thread to sleeppublic static void blockTillClockAdvances()
Clock
class's representation of time has advanced.