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

Function defaultCrashMethod

src/CppUTest/Utest.cpp:154–157  ·  view source on GitHub ↗

LCOV_EXCL_START - actually covered but not in .gcno due to race condition

Source from the content-addressed store, hash-verified

152
153// LCOV_EXCL_START - actually covered but not in .gcno due to race condition
154static void defaultCrashMethod()
155{
156 UtestShell* ptr = (UtestShell*) NULLPTR; ptr->countTests();
157}
158// LCOV_EXCL_STOP
159
160static void (*pleaseCrashMeRightNow) () = defaultCrashMethod;

Callers

nothing calls this directly

Calls 1

countTestsMethod · 0.45

Tested by

no test coverage detected