Class ActorSystemResource
java.lang.Object
org.junit.rules.ExternalResource
org.apache.pekko.http.javadsl.testkit.ActorSystemResource
- All Implemented Interfaces:
org.junit.rules.TestRule
public class ActorSystemResource
extends org.junit.rules.ExternalResource
Deprecated.
Use ActorSystemExtension (Jupiter Junit support) instead. Since 2.0.0.
-
Constructor Summary
ConstructorsConstructorDescriptionActorSystemResource(String name, com.typesafe.config.Config additionalConfig) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidafter()Deprecated.voidbefore()Deprecated.protected com.typesafe.config.Configconfig()Deprecated.protected org.apache.pekko.actor.ActorSystemDeprecated.org.apache.pekko.stream.MaterializerDeprecated.org.apache.pekko.actor.ActorSystemsystem()Deprecated.Methods inherited from class org.junit.rules.ExternalResource
apply
-
Constructor Details
-
ActorSystemResource
Deprecated.
-
-
Method Details
-
after
public void after()Deprecated.- Overrides:
afterin classorg.junit.rules.ExternalResource
-
before
public void before()Deprecated.- Overrides:
beforein classorg.junit.rules.ExternalResource
-
config
protected com.typesafe.config.Config config()Deprecated. -
createSystem
protected org.apache.pekko.actor.ActorSystem createSystem()Deprecated. -
materializer
public org.apache.pekko.stream.Materializer materializer()Deprecated. -
system
public org.apache.pekko.actor.ActorSystem system()Deprecated.
-