unit-threaded v0.7.25 (2017-06-29T09:17:37Z)
Home
Dub
Repo
FunctionTestCase
unit_threaded
testcase
Undocumented in source.
class
FunctionTestCase :
TestCase
{
struct
TestData
via
import
unit_threaded
.
reflection
:
TestData
,
TestFunction
;
;
alias
TestFunction
=
void
delegate
()
via
import
unit_threaded
.
reflection
:
TestData
,
TestFunction
;
;
this
(TestData data);
void
test
();
string
getPath
();
}
Constructors
this
this
(TestData data)
Undocumented in source.
Members
Functions
getPath
string
getPath
()
Undocumented in source. Be warned that the author may not have intended to support it.
test
void
test
()
Undocumented in source. Be warned that the author may not have intended to support it.
Inherited Members
From TestCase
getPath
string
getPath
()
opCall
string
[]
opCall
()
Executes the test.
numTestsRun
ulong
numTestsRun
()
Certain child classes override this
showChrono
void
showChrono
()
Undocumented in source. Be warned that the author may not have intended to support it.
setOutput
void
setOutput
(Output output)
Undocumented in source. Be warned that the author may not have intended to support it.
currentTest
TestCase
currentTest
;
Undocumented in source.
_output
Output
_output
;
Undocumented in source.
silence
void
silence
()
Undocumented in source. Be warned that the author may not have intended to support it.
getWriter
Output
getWriter
()
Undocumented in source. Be warned that the author may not have intended to support it.
test
void
test
()
Undocumented in source.
setup
void
setup
()
Undocumented in source. Be warned that the author may not have intended to support it.
shutdown
void
shutdown
()
Undocumented in source. Be warned that the author may not have intended to support it.
Meta
Source
See Implementation
unit_threaded
testcase
classes
BuiltinTestCase
CompositeTestCase
FunctionTestCase
ShouldFailTestCase
TestCase
functions
disableStackTrace
enableStackTrace