implicit final class TestDuration extends AnyVal
Scala API. Scale timeouts (durations) during tests with the configured
'akka.actor.testkit.typed.timefactor'.
Implicit class providing dilated
method.
import scala.concurrent.duration._ import akka.actor.testkit.typed.scaladsl._ 10.milliseconds.dilated
Uses the scaling factor from the TestTimeFactor
in the TestKitSettings
(in implicit scope).
- Source
- package.scala
Linear Supertypes
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- TestDuration
- AnyVal
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new TestDuration(duration: FiniteDuration)
Value Members
- def dilated(implicit settings: TestKitSettings): FiniteDuration
- val duration: FiniteDuration
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any