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

Function _failAndLeakMemory

tests/CppUTest/MemoryLeakWarningTest.cpp:168–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166}
167
168static void _failAndLeakMemory()
169{
170 leak1 = detector->allocMemory(allocator, 10);
171 FAIL("");
172}
173
174TEST(MemoryLeakWarningTest, FailingTestDoesNotReportMemoryLeaks)
175{

Callers

nothing calls this directly

Calls 1

allocMemoryMethod · 0.80

Tested by

no test coverage detected