Class TestKitUtils

java.lang.Object
org.apache.pekko.actor.testkit.typed.internal.TestKitUtils

public class TestKitUtils extends Object
INTERNAL API
  • Constructor Details

    • TestKitUtils

      public TestKitUtils()
  • Method Details

    • testNameFromCallStack

      public static String testNameFromCallStack(Class<?> classToStartFrom)
    • scrubActorSystemName

      public static String scrubActorSystemName(String name)
      Sanitize the name 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)