Clears the contents of the input buffer.
Clears the contents of the output buffer.
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.
Writes the specified sequence of strings to the input buffer.
Takes the first value from the input buffer, if one exists, or else
fails with an EOFException
.
Takes the first value from the input buffer, if one exists, or else
fails with an EOFException
.
Returns the contents of the output buffer.
Returns the contents of the error output buffer.
Writes the specified string to the output buffer.
Writes the specified string to the output buffer.
Writes the specified string to the error buffer.
Writes the specified string to the error buffer.
Writes the specified string to the output buffer followed by a newline character.
Writes the specified string to the output buffer followed by a newline character.
Writes the specified string to the error buffer followed by a newline character.
Writes the specified string to the error buffer followed by a newline character.
Saves the TestConsole
's current state in an effect which, when run,
will restore the TestConsole
state to the saved state.
Saves the TestConsole
's current state in an effect which, when run,
will restore the TestConsole
state to the saved state.
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.