Class StreamTestKit$


  • public class StreamTestKit$
    extends java.lang.Object
    • Field Detail

      • MODULE$

        public static final StreamTestKit$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • StreamTestKit$

        public StreamTestKit$()
    • Method Detail

      • assertAllStagesStopped

        public void assertAllStagesStopped​(Materializer mat)
        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

        public void assertAllStagesStopped​(Materializer mat,
                                           java.time.Duration overrideTimeout)
        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 ignores stream.testkit.all-stages-stopped-timeout.
      • assertAllStagesStopped

        public void assertAllStagesStopped​(ClassicActorSystemProvider system)
        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.