final class ManualTime extends AnyRef
Not for user instantiation, see ManualTime#apply
- Source
- ManualTime.scala
Linear Supertypes
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- ManualTime
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new ManualTime(delegate: ExplicitlyTriggeredScheduler)
Value Members
-
def
expectNoMessageFor(duration: FiniteDuration, on: TestProbe[_]*): Unit
- Annotations
- @varargs()
-
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.