Module org.testfx

Class SleepRobotImpl

    • Constructor Detail

      • SleepRobotImpl

        public SleepRobotImpl()
    • Method Detail

      • sleep

        public void sleep​(long milliseconds)
        Description copied from interface: SleepRobot
        Same as Thread.sleep(long)}, but without checked exceptions.
        Specified by:
        sleep in interface SleepRobot
        Parameters:
        milliseconds - the duration in milliseconds to sleep for
      • sleep

        public void sleep​(long duration,
                          TimeUnit timeUnit)
        Description copied from interface: SleepRobot
        Same as Thread.sleep(long), but without checked exceptions.
        Specified by:
        sleep in interface SleepRobot
        Parameters:
        duration - the duration to sleep for
        timeUnit - the unit of time the duration to sleep for is in