Package csw.testkit
Class ConfigTestKit$
java.lang.Object
csw.testkit.ConfigTestKit$
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ConfigTestKit$
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, scala.Option<com.typesafe.config.Config> serverConfig, TestKitSettings testKitSettings) Create a ConfigTestKitcreate
(akka.actor.typed.ActorSystem<akka.actor.typed.SpawnProtocol.Command> actorSystem) Java API for creating ConfigTestKitcreate
(com.typesafe.config.Config serverConfig) Java API for creating ConfigTestKitcreate
(com.typesafe.config.Config serverConfig, TestKitSettings testKitSettings) Java API for creating ConfigTestKitcreate
(TestKitSettings testKitSettings) Java API for creating ConfigTestKit
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
ConfigTestKit$
public ConfigTestKit$()
-
-
Method Details
-
apply
public ConfigTestKit apply(akka.actor.typed.ActorSystem<akka.actor.typed.SpawnProtocol.Command> actorSystem, scala.Option<com.typesafe.config.Config> serverConfig, TestKitSettings testKitSettings) Create a ConfigTestKitWhen the test has completed you should shutdown the config server with
ConfigTestKit.shutdownConfigServer()
.- Parameters:
actorSystem
- (undocumented)serverConfig
- (undocumented)testKitSettings
- (undocumented)- Returns:
- (undocumented)
-
create
public ConfigTestKit create(akka.actor.typed.ActorSystem<akka.actor.typed.SpawnProtocol.Command> actorSystem) Java API for creating ConfigTestKit- Parameters:
actorSystem
-- Returns:
- handle to ConfigTestKit which can be used to start and stop config server
-
create
Java API for creating ConfigTestKit- Parameters:
serverConfig
- custom configuration with which to start config server- Returns:
- handle to ConfigTestKit which can be used to start and stop config server
-
create
Java API for creating ConfigTestKit- Parameters:
testKitSettings
- custom testKitSettings- Returns:
- handle to ConfigTestKit which can be used to start and stop config server
-
create
public ConfigTestKit create(com.typesafe.config.Config serverConfig, TestKitSettings testKitSettings) Java API for creating ConfigTestKit- Parameters:
serverConfig
- custom configuration with which to start config servertestKitSettings
- custom testKitSettings- Returns:
- handle to ConfigTestKit which can be used to start and stop config server
-