object ActorTestKit
- Source
- ActorTestKit.scala
- Alphabetic
- By Inheritance
- ActorTestKit
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate() @throws( ... )
-
def
create(name: String, customConfig: Config, settings: TestKitSettings): ActorTestKit
Create a named testkit, and use a custom config for the actor system, and a custom akka.actor.testkit.typed.TestKitSettings
Create a named testkit, and use a custom config for the actor system, and a custom akka.actor.testkit.typed.TestKitSettings
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. -
def
create(name: String, customConfig: Config): ActorTestKit
Create a named testkit, and use a custom config for the actor system.
Create a named testkit, and use a custom config for the actor system.
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. -
def
create(name: String): ActorTestKit
Create a named testkit.
Create a named testkit.
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. -
def
create(): ActorTestKit
Create a testkit named from the class that is calling this method.
Create a testkit named from the class that is calling this method.
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. -
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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 withthrow-on-shutdown-timeout
). -
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 withthrow-on-shutdown-timeout
). -
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.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )