Clears the contents of the input buffer.
Clears the contents of the input buffer.
Clears the contents of the output buffer.
Clears the contents of the output buffer.
Clears the contents of the output error buffer.
Clears the contents of the output error 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.
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.
Writes the specified sequence of strings to the input buffer. The first string in the sequence will be the first to be taken. These strings will be taken before any strings that were previously in the input buffer.
Returns the contents of the output buffer.
Returns the contents of the output buffer. The first value written to the output buffer will be the first in the sequence.
Returns the contents of the error output buffer.
Returns the contents of the error output buffer. The first value written to the error output buffer will be the first in the sequence.
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.
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.
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.
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.