Package org.apache.pekko.actor.testkit.typed.scaladsl
-
Interface Summary Interface Description BehaviorTestKit<T> Used for synchronous testingpekko.actor.typed.Behaviors.LogCapturing Mixin this trait to a ScalaTest test to make log lines appear only when the test failed.LoggingTestKit Facilities for verifying logs.ReplyInbox<T> Similar to anakka.actor.testkit.typed.scaladsl.TestInbox, but can only ever give access to a single message (a reply).ScalaTestWithActorTestKitBase A ScalaTest base trait for theActorTestKitwhichScalaTestWithActorTestKitextends.StatusReplyInbox<T> Aakka.actor.testkit.typed.scaladsl.ReplyInboxwhich specially handlesakka.pattern.StatusReply.TestInbox<T> Utility for use as anActorRefwhen *synchronously* testingpekko.actor.typed.Behaviorwithpekko.actor.testkit.typed.javadsl.BehaviorTestKit.TestProbe<M> Create instances through the factories in theTestProbecompanion. -
Class Summary Class Description ActorTestKit Testkit for asynchronous testing of typed actors, meant for mixing into the test class.ActorTestKit$ ActorTestKitBase A base class for theActorTestKit, making it possible to have testing framework (e.g.ActorTestKitBase$ BehaviorTestKit$ Effects Factories for behavior effects forBehaviorTestKit, each effect has a suitable equals and can be used to compare actual effects to expected ones.Effects$ Factories for behavior effects forBehaviorTestKit, each effect has a suitable equals and can be used to compare actual effects to expected ones.FishingOutcomes FishingOutcomes$ LoggingTestKit$ Facilities for selectively matching expected events from logging.ManualTime Not for user instantiation, seeManualTime.apply(org.apache.pekko.actor.typed.ActorSystem<?>)ManualTime$ Manual time allows you to do async tests while controlling the scheduler of the system.ScalaTestWithActorTestKit A ScalaTest base class for theActorTestKit, making it possible to have ScalaTest manage the lifecycle of the testkit.SerializationTestKit Utilities to test serialization.TestInbox$ TestProbe$