Package org.testfx.robot
Interface SleepRobot
-
- All Known Implementing Classes:
SleepRobotImpl
public interface SleepRobot
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsleep(long milliseconds)Same asThread.sleep(long)}, but without checked exceptions.voidsleep(long duration, java.util.concurrent.TimeUnit timeUnit)Same asThread.sleep(long), but without checked exceptions.
-
-
-
Method Detail
-
sleep
void sleep(long milliseconds)
Same asThread.sleep(long)}, but without checked exceptions.- Parameters:
milliseconds- the duration in milliseconds to sleep for
-
sleep
void sleep(long duration, java.util.concurrent.TimeUnit timeUnit)Same asThread.sleep(long), but without checked exceptions.- Parameters:
duration- the duration to sleep fortimeUnit- the unit of time the duration to sleep for is in
-
-