object TestKit

Source
TestKit.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TestKit
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def awaitCond(p: ⇒ Boolean, max: Duration, interval: Duration = 100.millis, noThrow: Boolean = false): Boolean

    Await until the given condition evaluates to true or the timeout expires, whichever comes first.

  2. def now: Duration

    Obtain current timestamp as Duration for relative measurements (using System.nanoTime).

  3. def shutdownActorSystem(actorSystem: ActorSystem, duration: Duration = 10.seconds, verifySystemShutdown: Boolean = false): Unit

    Shut down an actor system and wait for termination.

    Shut down an actor system and wait for termination. On failure debug output will be logged about the remaining actors in the system.

    If verifySystemShutdown is true, then an exception will be thrown on failure.