Packages

object ActorTestKit

Source
ActorTestKit.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ActorTestKit
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def applicationTestConfig: Config

    Config loaded from application-test.conf, which is used if no specific config is given.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. def create(name: String, customConfig: Config, settings: TestKitSettings): ActorTestKit

    Create an akka.actor.typed.ActorSystem named based on the provided name, use the provided custom config for the actor system, and the testkit will use the provided setting.

    Create an akka.actor.typed.ActorSystem named based on the provided name, use the provided custom config for the actor system, and the testkit will use the provided setting.

    It will create an akka.actor.typed.ActorSystem with this name, e.g. threads will include the name.

    It will also used the provided customConfig provided to create the ActorSystem, and provided setting.

    When the test has completed you should terminate the ActorSystem and the testkit with ActorTestKit#shutdownTestKit.

  8. def create(name: String, customConfig: Config): ActorTestKit

    Create a test kit named based on the provided name, and uses the provided custom config for the actor system.

    Create a test kit named based on the provided name, and uses the provided custom config for the actor system.

    It will create an akka.actor.typed.ActorSystem with this name, e.g. threads will include the name.

    It will also used the provided customConfig provided to create the ActorSystem

    When the test has completed you should terminate the ActorSystem and the testkit with ActorTestKit#shutdownTestKit.

  9. def create(customConfig: Config): ActorTestKit

    Create a testkit named from the ActorTestKit class, and use a custom config for the actor system.

    Create a testkit named from the ActorTestKit class, and use a custom config for the actor system.

    It will also used the provided customConfig provided to create the ActorSystem

    When the test has completed you should terminate the ActorSystem and the testkit with ActorTestKit#shutdownTestKit.

  10. def create(name: String): ActorTestKit

    Create a testkit using the provided name.

    Create a testkit using the provided name.

    It will create an akka.actor.typed.ActorSystem with this name, e.g. threads will include the name. When the test has completed you should terminate the ActorSystem and the testkit with ActorTestKit#shutdownTestKit.

    Config loaded from application-test.conf if that exists, otherwise using default configuration from the reference.conf resources that ship with the Akka libraries. The application.conf of your project is not used in this case.

  11. def create(system: typed.ActorSystem[_]): ActorTestKit

    Create a testkit from the provided actor system.

    Create a testkit from the provided actor system.

    When the test has completed you should terminate the ActorSystem and the testkit with ActorTestKit#shutdownTestKit.

    Config loaded from the provided actor if that exists, otherwise using default configuration from the reference.conf resources that ship with the Akka libraries.

  12. def create(): ActorTestKit

    Create a testkit named from the ActorTestKit class.

    Create a testkit named from the ActorTestKit class.

    When the test has completed you should terminate the ActorSystem and the testkit with ActorTestKit#shutdownTestKit.

    Config loaded from application-test.conf if that exists, otherwise using default configuration from the reference.conf resources that ship with the Akka libraries. The application.conf of your project is not used in this case.

  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. def shutdown(system: typed.ActorSystem[_]): Unit

    Shutdown the given akka.actor.typed.ActorSystem and block until it shuts down, if more time than system-shutdown-default passes an exception is thrown (can be configured with throw-on-shutdown-timeout).

  22. def shutdown(system: typed.ActorSystem[_], duration: Duration): Unit

    Shutdown the given akka.actor.typed.ActorSystem and block until it shuts down, if more time than system-shutdown-default passes an exception is thrown (can be configured with throw-on-shutdown-timeout).

  23. def shutdown(system: typed.ActorSystem[_], duration: Duration, throwIfShutdownTimesOut: Boolean): Unit

    Shutdown the given actor system and wait up to duration for shutdown to complete.

    Shutdown the given actor system and wait up to duration for shutdown to complete.

    throwIfShutdownTimesOut

    Fail the test if the system fails to shut down, if false an error is printed to stdout when the system did not shutdown but no exception is thrown.

  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped