dextool v3.3.0 (2021-06-08T20:46:23Z)
Dub
Repo
ShouldFailTestCase
unit_threaded
runner
testcase
A test that should fail
class
ShouldFailTestCase :
TestCase
{
this
(TestCase testCase, TypeInfo exceptionTypeInfo);
bool
shouldFail
();
string
getPath
();
void
test
();
}
Constructors
this
this
(TestCase testCase, TypeInfo exceptionTypeInfo)
Undocumented in source.
Members
Functions
getPath
string
getPath
()
Undocumented in source. Be warned that the author may not have intended to support it.
shouldFail
bool
shouldFail
()
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.
silence
void
silence
()
Undocumented in source. Be warned that the author may not have intended to support it.
shouldFail
bool
shouldFail
()
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.
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
runner
testcase
classes
BuiltinTestCase
CompositeTestCase
FlakyTestCase
FunctionTestCase
ShouldFailTestCase
TestCase
functions
disableStackTrace
enableStackTrace
A test that should fail