Class TestKitUtils$


  • public class TestKitUtils$
    extends java.lang.Object
    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.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static TestKitUtils$ MODULE$
      Static reference to the singleton instance of this Scala object.
    • Constructor Summary

      Constructors 
      Constructor Description
      TestKitUtils$()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String scrubActorSystemName​(java.lang.String name)
      Sanitize the name to be used as valid actor system name by replacing invalid characters.
      void shutdown​(ActorSystem<?> system, scala.concurrent.duration.Duration timeout, boolean throwIfShutdownTimesOut)  
      java.lang.String testNameFromCallStack​(java.lang.Class<?> classToStartFrom)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • MODULE$

        public static final TestKitUtils$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • TestKitUtils$

        public TestKitUtils$()
    • Method Detail

      • testNameFromCallStack

        public java.lang.String testNameFromCallStack​(java.lang.Class<?> classToStartFrom)
      • scrubActorSystemName

        public java.lang.String scrubActorSystemName​(java.lang.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.
        Parameters:
        name - (undocumented)
        Returns:
        (undocumented)
      • shutdown

        public void shutdown​(ActorSystem<?> system,
                             scala.concurrent.duration.Duration timeout,
                             boolean throwIfShutdownTimesOut)