Class StreamTestKit
java.lang.Object
org.apache.pekko.stream.testkit.javadsl.StreamTestKit
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidAssert that there are no stages running under a given system's materializer.static voidAssert that there are no stages running under a given materializer.static voidassertAllStagesStopped(Materializer mat, Duration overrideTimeout) Assert that there are no stages running under a given materializer.
-
Constructor Details
-
StreamTestKit
public StreamTestKit()
-
-
Method Details
-
assertAllStagesStopped
Assert that there are no stages running under a given materializer. Usually this assertion is run after a test-case to check that all of the stages have terminated successfully. -
assertAllStagesStopped
Assert that there are no stages running under a given materializer. Usually this assertion is run after a test-case to check that all of the stages have terminated successfully with an overridden duration that ignoresstream.testkit.all-stages-stopped-timeout. -
assertAllStagesStopped
Assert that there are no stages running under a given system's materializer. Usually this assertion is run after a test-case to check that all of the stages have terminated successfully.
-