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

    Constructors
    Constructor
    Description
    ActorSystemResource(String name, com.typesafe.config.Config additionalConfig)
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated.
     
    void
    Deprecated.
     
    protected com.typesafe.config.Config
    Deprecated.
     
    protected org.apache.pekko.actor.ActorSystem
    Deprecated.
     
    org.apache.pekko.stream.Materializer
    Deprecated.
     
    org.apache.pekko.actor.ActorSystem
    Deprecated.
     

    Methods inherited from class org.junit.rules.ExternalResource

    apply

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ActorSystemResource

      public ActorSystemResource(String name, com.typesafe.config.Config additionalConfig)
      Deprecated.
  • Method Details

    • after

      public void after()
      Deprecated.
      Overrides:
      after in class org.junit.rules.ExternalResource
    • before

      public void before()
      Deprecated.
      Overrides:
      before in class org.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.