Package org.apache.pekko.stream.testkit
Class Utils
java.lang.Object
org.apache.pekko.stream.testkit.Utils
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> T
assertAllStagesStopped
(scala.Function0<T> block, org.apache.pekko.stream.Materializer materializer) static void
assertDispatcher
(org.apache.pekko.actor.ActorRef ref, String dispatcher) static com.typesafe.config.Config
Sets the default-mailbox to the usualpekko.dispatch.UnboundedMailbox
instead ofStreamTestDefaultMailbox
.
-
Constructor Details
-
Utils
public Utils()
-
-
Method Details
-
UnboundedMailboxConfig
public static com.typesafe.config.Config UnboundedMailboxConfig()Sets the default-mailbox to the usualpekko.dispatch.UnboundedMailbox
instead ofStreamTestDefaultMailbox
. -
assertAllStagesStopped
public static <T> T assertAllStagesStopped(scala.Function0<T> block, org.apache.pekko.stream.Materializer materializer) -
assertDispatcher
-