Class TestKitSettings
java.lang.Object
org.apache.pekko.actor.testkit.typed.TestKitSettings
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TestKitSettingsapply(com.typesafe.config.Config config) Reads configuration settings from givenConfigthat must have the same layout as thepekko.actor.testkit.typedsection.static TestKitSettingsapply(ActorSystem<?> system) Reads configuration settings frompekko.actor.testkit.typedsection.com.typesafe.config.Configconfig()static TestKitSettingscreate(com.typesafe.config.Config config) Reads configuration settings from givenConfigthat must have the same layout as thepekko.actor.testkit.typedsection.static TestKitSettingscreate(ActorSystem<?> system) Java API: Reads configuration settings frompekko.actor.testkit.typedsection.scala.concurrent.duration.FiniteDurationDilated with `TestTimeFactor`.Dilated with `TestTimeFactor`.Java API: Scale thedurationwith the configuredTestTimeFactorscala.concurrent.duration.FiniteDurationdilated(scala.concurrent.duration.FiniteDuration duration) Scala API: Scale thedurationwith the configuredTestTimeFactorscala.concurrent.duration.FiniteDurationDilated with `TestTimeFactor`.scala.concurrent.duration.FiniteDurationDilated with `TestTimeFactor`.scala.concurrent.duration.FiniteDurationDilated with `TestTimeFactor`.doubleboolean
-
Constructor Details
-
TestKitSettings
public TestKitSettings(com.typesafe.config.Config config)
-
-
Method Details
-
apply
Reads configuration settings frompekko.actor.testkit.typedsection. -
apply
Reads configuration settings from givenConfigthat must have the same layout as thepekko.actor.testkit.typedsection. -
create
Java API: Reads configuration settings frompekko.actor.testkit.typedsection. -
create
Reads configuration settings from givenConfigthat must have the same layout as thepekko.actor.testkit.typedsection. -
config
public com.typesafe.config.Config config() -
TestTimeFactor
public double TestTimeFactor() -
SingleExpectDefaultTimeout
public scala.concurrent.duration.FiniteDuration SingleExpectDefaultTimeout()Dilated with `TestTimeFactor`. -
ExpectNoMessageDefaultTimeout
public scala.concurrent.duration.FiniteDuration ExpectNoMessageDefaultTimeout()Dilated with `TestTimeFactor`. -
DefaultTimeout
Dilated with `TestTimeFactor`. -
DefaultActorSystemShutdownTimeout
public scala.concurrent.duration.FiniteDuration DefaultActorSystemShutdownTimeout()Dilated with `TestTimeFactor`. -
ThrowOnShutdownTimeout
public boolean ThrowOnShutdownTimeout() -
FilterLeeway
public scala.concurrent.duration.FiniteDuration FilterLeeway()Dilated with `TestTimeFactor`. -
dilated
public scala.concurrent.duration.FiniteDuration dilated(scala.concurrent.duration.FiniteDuration duration) Scala API: Scale thedurationwith the configuredTestTimeFactor -
dilated
Java API: Scale thedurationwith the configuredTestTimeFactor
-