Class TestKitUtils
- java.lang.Object
-
- akka.actor.testkit.typed.internal.TestKitUtils
-
public class TestKitUtils extends java.lang.Object
INTERNAL API
-
-
Constructor Summary
Constructors Constructor Description TestKitUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
scrubActorSystemName(java.lang.String name)
Sanitize thename
to be used as valid actor system name by replacing invalid characters.static void
shutdown(ActorSystem<?> system, scala.concurrent.duration.Duration timeout, boolean throwIfShutdownTimesOut)
static java.lang.String
testNameFromCallStack(java.lang.Class<?> classToStartFrom)
-
-
-
Method Detail
-
testNameFromCallStack
public static java.lang.String testNameFromCallStack(java.lang.Class<?> classToStartFrom)
-
scrubActorSystemName
public static java.lang.String scrubActorSystemName(java.lang.String name)
Sanitize thename
to be used as valid actor system name by replacing invalid characters.name
may 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)
-
-