Package csw.testkit
Class FrameworkTestKit$
java.lang.Object
csw.testkit.FrameworkTestKit$
-
Field Summary
Modifier and TypeFieldDescriptionstatic final FrameworkTestKit$
Static reference to the singleton instance of this Scala object. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapply
(akka.actor.typed.ActorSystem<akka.actor.typed.SpawnProtocol.Command> actorSystem, TestKitSettings testKitSettings) Scala API for creating FrameworkTestKitcreate()
Java API for creating FrameworkTestKitcreate
(akka.actor.typed.ActorSystem<akka.actor.typed.SpawnProtocol.Command> actorSystem) Java API for creating FrameworkTestKitcreate
(TestKitSettings testKitSettings) Java API for creating FrameworkTestKit
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
FrameworkTestKit$
public FrameworkTestKit$()
-
-
Method Details
-
apply
public FrameworkTestKit apply(akka.actor.typed.ActorSystem<akka.actor.typed.SpawnProtocol.Command> actorSystem, TestKitSettings testKitSettings) Scala API for creating FrameworkTestKit- Parameters:
actorSystem
- actorSystem used for spawning componentstestKitSettings
- custom testKitSettings- Returns:
- handle to FrameworkTestKit which can be used to start and stop all services started
-
create
Java API for creating FrameworkTestKit- Returns:
- handle to FrameworkTestKit which can be used to start and stop all services started
-
create
public FrameworkTestKit create(akka.actor.typed.ActorSystem<akka.actor.typed.SpawnProtocol.Command> actorSystem) Java API for creating FrameworkTestKit- Parameters:
actorSystem
- actorSystem used for spawning components- Returns:
- handle to FrameworkTestKit which can be used to start and stop all services started
-
create
Java API for creating FrameworkTestKit- Parameters:
testKitSettings
- custom testKitSettings- Returns:
- handle to FrameworkTestKit which can be used to start and stop all services started
-