Package org.testfx.robot.impl
Class SleepRobotImpl
java.lang.Object
org.testfx.robot.impl.SleepRobotImpl
- All Implemented Interfaces:
SleepRobot
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
sleep
(long milliseconds) Same asThread.sleep(long)
}, but without checked exceptions.void
Same asThread.sleep(long)
, but without checked exceptions.
-
Constructor Details
-
SleepRobotImpl
public SleepRobotImpl()
-
-
Method Details
-
sleep
public void sleep(long milliseconds) Description copied from interface:SleepRobot
Same asThread.sleep(long)
}, but without checked exceptions.- Specified by:
sleep
in interfaceSleepRobot
- Parameters:
milliseconds
- the duration in milliseconds to sleep for
-
sleep
Description copied from interface:SleepRobot
Same asThread.sleep(long)
, but without checked exceptions.- Specified by:
sleep
in interfaceSleepRobot
- Parameters:
duration
- the duration to sleep fortimeUnit
- the unit of time the duration to sleep for is in
-