IEventFilterApplier Interface |
Namespace: Akka.TestKit
The IEventFilterApplier type exposes the following members.
Name | Description | |
---|---|---|
Expect(Int32, Action) |
Executes action and expects the specified number
of events to be logged during the execution.
This method fails and throws an exception if more events than expected are logged,
or if a timeout occurs. The timeout is taken from the config value
"akka.test.filter-leeway", see TestEventFilterLeeway.
| |
Expect(Int32, TimeSpan, Action) |
Executes action and expects the specified number
of events to be logged during the execution.
This method fails and throws an exception if more events than expected are logged,
or if a timeout occurs. The timeout is taken from the config value
"akka.test.filter-leeway", see TestEventFilterLeeway.
| |
ExpectT(Int32, FuncT) |
Executes func and expects the specified number
of events to be logged during the execution.
This function fails and throws an exception if more events than expected are logged,
or if a timeout occurs. The timeout is taken from the config value
"akka.test.filter-leeway", see TestEventFilterLeeway.
| |
ExpectT(Int32, TimeSpan, FuncT) |
Executes func and expects the specified number
of events to be logged during the execution.
This function fails and throws an exception if more events than expected are logged,
or if a timeout occurs. The timeout is taken from the config value
"akka.test.filter-leeway", see TestEventFilterLeeway.
| |
ExpectOne(Action) |
Executes action and
expects one event to be logged during the execution.
This method fails and throws an exception if more than one event is logged,
or if a timeout occurs. The timeout is taken from the config value
"akka.test.filter-leeway", see TestEventFilterLeeway.
| |
ExpectOne(TimeSpan, Action) |
Executes action and
expects one event to be logged during the execution.
This method fails and throws an exception if more than one event is logged,
or if a timeout occurs.
| |
ExpectOneT(FuncT) |
Executes func and
expects one event to be logged during the execution.
This function fails and throws an exception if more than one event is logged,
or if a timeout occurs. The timeout is taken from the config value
"akka.test.filter-leeway", see TestEventFilterLeeway.
| |
ExpectOneT(TimeSpan, FuncT) |
Executes func and
expects one event to be logged during the execution.
This function fails and throws an exception if more than one event is logged,
or if a timeout occurs.
| |
Mute | ||
Mute(Action) |
Executes action and prevent events from being logged during the execution.
| |
MuteT(FuncT) |
Executes func and prevent events from being logged during the execution.
|