Class TestKitUtils
java.lang.Object
org.apache.pekko.actor.testkit.typed.internal.TestKitUtils
INTERNAL API
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringscrubActorSystemName(String name) Sanitize thenameto be used as valid actor system name by replacing invalid characters.static voidshutdown(ActorSystem<?> system, scala.concurrent.duration.Duration timeout, boolean throwIfShutdownTimesOut) static StringtestNameFromCallStack(Class<?> classToStartFrom)
-
Constructor Details
-
TestKitUtils
public TestKitUtils()
-
-
Method Details
-
testNameFromCallStack
-
scrubActorSystemName
Sanitize thenameto be used as valid actor system name by replacing invalid characters.namemay for example be a fully qualified class name and then the short class name will be used. -
shutdown
public static void shutdown(ActorSystem<?> system, scala.concurrent.duration.Duration timeout, boolean throwIfShutdownTimesOut)
-