unit-threaded v0.7.6 (2017-03-08T13:17:40Z)
Home
Dub
Repo
FakeFile
unit_threaded
io
Undocumented in source.
version(testing_unit_threaded)
struct
FakeFile {
string
fileName
;
string
mode
;
string
output
;
void
flush
();
void
write
(string s);
string
[]
lines
();
}
Members
Functions
flush
void
flush
()
Undocumented in source. Be warned that the author may not have intended to support it.
lines
string
[]
lines
()
Undocumented in source. Be warned that the author may not have intended to support it.
write
void
write
(string s)
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
fileName
string
fileName
;
Undocumented in source.
mode
string
mode
;
Undocumented in source.
output
string
output
;
Undocumented in source.
Meta
Source
See Implementation
unit_threaded
io
classes
WriterThread
functions
enableDebugOutput
forceEscCodes
isDebugOutputEnabled
otherThread
resetFakeFiles
write
writeRed
writeYellow
writeln
writelnGreen
writelnRed
writelnUt
interfaces
Output
manifest constants
_escCodes
nullFileName
structs
FakeFile
variables
_useEscCodes
gBool
gErr
gOut