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

Function _testIgnore2

tests/CppUTest/MemoryLeakWarningTest.cpp:154–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152}
153
154static void _testIgnore2()
155{
156 memPlugin->expectLeaksInTest(2);
157 leak1 = detector->allocMemory(allocator, 10);
158 leak2 = (long*) (void*) detector->allocMemory(allocator, 4);
159}
160
161TEST(MemoryLeakWarningTest, Ignore2)
162{

Callers

nothing calls this directly

Calls 2

expectLeaksInTestMethod · 0.80
allocMemoryMethod · 0.80

Tested by

no test coverage detected