| Interface | Description |
|---|---|
| DefaultTimeout | |
| ImplicitSender | |
| JavaSerializable |
Marker trait for test messages that will use JavaSerializer.
|
| TestActor.Message | |
| TestEvent |
Implementation helpers of the EventFilter facilities: send
Mute
to the TestEventListener to install a filter, and UnMute to
uninstall it. |
| TestKitBase |
Implementation trait behind the
TestKit class: you may use
this if inheriting from a concrete class is not possible. |
| Class | Description |
|---|---|
| CachingPartialFunction<A,B> |
INTERNAL API
|
| CallingThreadDispatcher |
Dispatcher which runs invocations on the current thread only.
|
| CallingThreadDispatcher$ | |
| CallingThreadDispatcherConfigurator | |
| CallingThreadDispatcherQueues | |
| CallingThreadDispatcherQueues$ | |
| CallingThreadMailbox | |
| CustomEventFilter |
Custom event filter when the others do not fit the bill.
|
| CustomEventFilter$ | |
| DeadLettersFilter | |
| DeadLettersFilter$ | |
| DebugFilter |
Filter which matches Debug events, if they satisfy the given criteria:
source, if given, applies a filter on the event’s origin
message applies a filter on the event’s message (either with String.startsWith or Regex.findFirstIn().isDefined)
If you want to match all Debug events, the most efficient is to use Left(""). |
| DebugFilter$ | |
| ErrorFilter |
Filter which matches Error events, if they satisfy the given criteria:
throwable applies an upper bound on the type of exception contained in the Error event
source, if given, applies a filter on the event’s origin
message applies a filter on the event’s message (either
with String.startsWith or Regex.findFirstIn().isDefined); if the message
itself does not match, the match is retried with the contained Exception’s
message; if both are null, the filter always matches if at
the same time the Exception’s stack trace is empty (this catches
JVM-omitted “fast-throw” exceptions)
If you want to match all Error events, the most efficient is to use Left(""). |
| ErrorFilter$ | |
| EventFilter |
Facilities for selectively filtering out expected events from logging so
that you can keep your test run’s console output clean and do not miss real
error messages.
|
| EventFilter$ |
Facilities for selectively filtering out expected events from logging so
that you can keep your test run’s console output clean and do not miss real
error messages.
|
| InfoFilter |
Filter which matches Info events, if they satisfy the given criteria:
source, if given, applies a filter on the event’s origin
message applies a filter on the event’s message (either with String.startsWith or Regex.findFirstIn().isDefined)
If you want to match all Info events, the most efficient is to use Left(""). |
| InfoFilter$ | |
| JavaTestKit |
Java API: Test kit for testing actors.
|
| SocketUtil |
Utilities to get free socket address.
|
| SocketUtil$ |
Utilities to get free socket address.
|
| TestActor | |
| TestActor.AutoPilot | |
| TestActor.DelegatingSupervisorStrategy |
INTERNAL API
|
| TestActor.KeepRunning$ | |
| TestActor.NoAutoPilot$ | |
| TestActor.NullMessage$ | |
| TestActor.RealMessage | |
| TestActor.RealMessage$ | |
| TestActor.SetAutoPilot | |
| TestActor.SetAutoPilot$ | |
| TestActor.SetIgnore | |
| TestActor.SetIgnore$ | |
| TestActor.Spawn | |
| TestActor.Spawn$ | |
| TestActor.UnWatch | |
| TestActor.UnWatch$ | |
| TestActor.Watch | |
| TestActor.Watch$ | |
| TestActor$ | |
| TestActorRef<T extends Actor> |
This special ActorRef is exclusively for use during unit testing in a single-threaded environment.
|
| TestActorRef$ | |
| TestActors |
A collection of common actor patterns used in tests.
|
| TestActors.BlackholeActor |
BlackholeActor does nothing for incoming messages, its like a blackhole.
|
| TestActors.EchoActor |
EchoActor sends back received messages (unmodified).
|
| TestActors.ForwardActor |
ForwardActor forwards all messages as-is to specified ActorRef.
|
| TestActors$ |
A collection of common actor patterns used in tests.
|
| TestBarrier | |
| TestBarrier$ |
A cyclic barrier wrapper for use in testing.
|
| TestEvent.Mute | |
| TestEvent.Mute$ | |
| TestEvent.UnMute | |
| TestEvent.UnMute$ | |
| TestEvent$ |
Implementation helpers of the EventFilter facilities: send
Mute
to the TestEventFilter to install a filter, and UnMute to
uninstall it. |
| TestEventListener |
EventListener for running tests, which allows selectively filtering out
expected messages.
|
| TestFSMRef<S,D,T extends Actor> |
This is a specialized form of the TestActorRef with support for querying and
setting the state of a FSM.
|
| TestFSMRef$ | |
| TestKit |
Test kit for testing actors.
|
| TestKit$ | |
| TestKitExtension | |
| TestKitExtension$ | |
| TestKitSettings | |
| TestLatch | |
| TestLatch$ |
A count down latch wrapper for use in testing.
|
| TestProbe |
TestKit-based probe which allows sending, reception and reply.
|
| TestProbe$ | |
| WarningFilter |
Filter which matches Warning events, if they satisfy the given criteria:
source, if given, applies a filter on the event’s origin
message applies a filter on the event’s message (either with String.startsWith or Regex.findFirstIn().isDefined)
If you want to match all Warning events, the most efficient is to use Left(""). |
| WarningFilter$ |
| Exception | Description |
|---|---|
| TestBarrierTimeoutException |