Packages

final class ManualTime extends AnyRef

Not for user instantiation, see ManualTime#apply

Source
ManualTime.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ManualTime
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ManualTime(delegate: ExplicitlyTriggeredScheduler)

Value Members

  1. def expectNoMessageFor(duration: FiniteDuration, on: TestProbe[_]*): Unit
    Annotations
    @varargs()
  2. def timePasses(amount: FiniteDuration): Unit

    Advance the clock by the specified duration, executing all outstanding jobs on the calling thread before returning.

    Advance the clock by the specified duration, executing all outstanding jobs on the calling thread before returning.

    We will not add a dilation factor to this amount, since the scheduler API also does not apply dilation. If you want the amount of time passed to be dilated, apply the dilation before passing the delay to this method.