public interface WithLogCapturing
extends org.scalatest.SuiteMixin
Modifier and Type | Method and Description |
---|---|
scala.Option<java.lang.String> |
expectSevereLogsOnlyToMatch()
We expect a severe message but the message should contain this text.
|
boolean |
failOnSevereMessages()
Can be overridden to return true to check that no warning or error messages are logged during
the execution of the test
|
boolean |
isSevere(org.apache.pekko.event.Logging.LogEvent event)
Can be overridden to adapt which events should be considered as severe if
failOnSevereMessages is
enabled. |
org.apache.pekko.actor.ActorSystem |
system() |
org.scalatest.Outcome |
withFixture(org.scalatest.TestSuite.NoArgTest test) |
<T> T |
withPrefixedOut(java.lang.String prefix,
scala.Function0<T> thunk)
Adds a prefix to every line printed out during execution of the thunk.
|
scala.Option<java.lang.String> expectSevereLogsOnlyToMatch()
boolean failOnSevereMessages()
boolean isSevere(org.apache.pekko.event.Logging.LogEvent event)
failOnSevereMessages
is
enabled.event
- (undocumented)org.apache.pekko.actor.ActorSystem system()
org.scalatest.Outcome withFixture(org.scalatest.TestSuite.NoArgTest test)
<T> T withPrefixedOut(java.lang.String prefix, scala.Function0<T> thunk)