Readonly
logsA log containing messages having been displayed on screen, sorted in FIFO order.
Clear the current content of the TextInterceptor.
Private
formatFormat text to be displayed to the test console, as follows:
$
) with indented new lines.@c{}
, @d{}
, @s{}
, and @f{}
flags from the text.The unformatted text
The formatted text
The
TextInterceptor
is a wrapper class that intercepts and logs any messages that would be displayed on-screen.