MCPcopy Create free account
hub / github.com/cpputest/cpputest / getTestToFail

Method getTestToFail

src/CppUTestExt/MockFailure.cpp:63–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61} // LCOV_EXCL_LINE
62
63UtestShell* MockFailureReporter::getTestToFail()
64{
65 return UtestShell::getCurrent();
66}
67
68MockFailure::MockFailure(UtestShell* test) : TestFailure(test, "Test failed with MockFailure without an error! Something went seriously wrong.")
69{

Callers 4

getTestMethod · 0.45
mockFailureTestFunction · 0.45

Calls

no outgoing calls

Tested by 1

mockFailureTestFunction · 0.36