JournalSpec Properties |
The JournalSpec type exposes the following members.
Name | Description | |
---|---|---|
EventFilter |
Filter LogEvent sent to the system's EventStream.
In order to be able to filter the log the special logger
TestEventListener must be installed using the config
(Inherited from TestKitBase.)akka.loggers = ["Akka.TestKit.TestEventListener, Akka.TestKit"] | |
Extension | (Inherited from PluginSpec.) | |
HasMessages |
Returns true if messages are available.
(Inherited from TestKitBase.) | |
Journal | ||
LastMessage |
The last message received by the TestActor.
(Inherited from TestKitBase.) | |
LastSender | (Inherited from TestKitBase.) | |
Log |
The built-in ILoggingAdapter used by Sys.
(Inherited from TestKitBase.) | |
Pid | (Inherited from PluginSpec.) | |
Remaining | Retrieves the time remaining for execution of the innermost enclosing Within block. Remarks The returned value is always finite. | |
RemainingOrDefault | Retrieves the time remaining for execution of the innermost enclosing Within block. If missing that, then it returns the properly dilated default for this case from settings (key: "akka.test.single-expect-default"). Remarks The returned value is always finite. | |
SupportsAtomicPersistAllOfSeveralEvents |
Implementation may override and return false if it does not support
atomic writes of several events, as emitted by
PersistAllTEvent(IEnumerableTEvent, ActionTEvent).
| |
SupportsRejectingNonSerializableObjects |
When true enables tests which check if the Journal properly rejects
writes of objects which are not serializable.
| |
Sys |
The ActorSystem that is recreated and used for each test.
(Inherited from TestKitBase.) | |
TestActor |
The default TestActor. The actor can be controlled by sending it
special control messages, see TestActorSetIgnore,
TestActorWatch, TestActorUnwatch.
You can also install an AutoPilot to drive the actor, see
SetAutoPilot(AutoPilot). All other messages are forwarded to the queue
and can be retrieved with Receive and the ExpectMsg overloads.
(Inherited from TestKitBase.) | |
TestKitSettings |
The settings for the testkit.
(Inherited from TestKitBase.) | |
WriterGuid | (Inherited from PluginSpec.) |