Class TestKitUtils

java.lang.Object
org.apache.pekko.testkit.TestKitUtils

public class TestKitUtils extends Object
INTERNAL API
  • Constructor Details

    • TestKitUtils

      public TestKitUtils()
  • Method Details

    • testNameFromCallStack

      public static String testNameFromCallStack(Class<?> classToStartFrom, scala.util.matching.Regex testKitRegex)
    • 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.