The state of the TestConsole.
Accesses a TestConsole instance in the environment and clears the input
buffer.
Accesses a TestConsole instance in the environment and clears the output
buffer.
Accesses a TestConsole instance in the environment and runs the specified
effect with the TestConsole set to debug mode, so that console output is
rendered to standard output in addition to being written to the output
buffer.
Accesses a TestConsole instance in the environment and writes the
specified sequence of strings to the input buffer.
Constructs a new Test object that implements the TestConsole interface.
Constructs a new Test object that implements the TestConsole interface.
This can be useful for mixing in with implementations of other interfaces.
Accesses a TestConsole instance in the environment and returns the
contents of the output buffer.
Accesses a TestConsole instance in the environment and returns the
contents of the error buffer.
Accesses a TestConsole instance in the environment and saves the console
state in an effect which, when run, will restore the TestConsole to the
saved state.
Accesses a TestConsole instance in the environment and runs the specified
effect with the TestConsole set to silent mode, so that console output is
only written to the output buffer and not rendered to standard output.