unit_threaded.io

IO related functions

Members

Classes

WriterThread
class WriterThread

Thread to output to stdout

Functions

addToOutput
void addToOutput(string output, string msg)

Adds to the test cases output so far or immediately prints

enableDebugOutput
void enableDebugOutput()
Undocumented in source. Be warned that the author may not have intended to support it.
forceEscCodes
void forceEscCodes()
Undocumented in source. Be warned that the author may not have intended to support it.
isDebugOutputEnabled
bool isDebugOutputEnabled()
Undocumented in source. Be warned that the author may not have intended to support it.
utWrite
void utWrite(T args)
Undocumented in source. Be warned that the author may not have intended to support it.
utWriteRed
void utWriteRed(T args)
Undocumented in source. Be warned that the author may not have intended to support it.
utWriteYellow
void utWriteYellow(T args)
Undocumented in source. Be warned that the author may not have intended to support it.
utWriteln
void utWriteln(T args)
Undocumented in source. Be warned that the author may not have intended to support it.
utWritelnGreen
void utWritelnGreen(T args)
Undocumented in source. Be warned that the author may not have intended to support it.
utWritelnRed
void utWritelnRed(T args)
Undocumented in source. Be warned that the author may not have intended to support it.
writelnUt
void writelnUt(T args)

Write if debug output was enabled. Not thread-safe in the sense that it will get printed out immediately and may overlap with other output. This is why the test runner forces single-threaded mode when debug mode is selected.

Meta