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

Function TEST

tests/CppUTestExt/MemoryReporterPluginTest.cpp:151–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149};
150
151TEST(MemoryReporterPlugin, offReportsNothing)
152{
153 MemoryReporterPluginUnderTest freshReporter;
154 freshReporter.preTestAction(*test, *result);
155 char* memory = new char;
156 delete memory;
157 freshReporter.postTestAction(*test, *result);
158}
159
160TEST(MemoryReporterPlugin, meaninglessArgumentsAreIgnored)
161{

Callers

nothing calls this directly

Calls 12

getCurrentNewAllocatorFunction · 0.85
ignoreOtherCallsMethod · 0.80
preTestActionMethod · 0.45
postTestActionMethod · 0.45
parseArgumentsMethod · 0.45
getNewAllocatorMethod · 0.45
allocMemoryLeakNodeMethod · 0.45
free_memoryMethod · 0.45
getMallocAllocatorMethod · 0.45
getNewArrayAllocatorMethod · 0.45

Tested by

no test coverage detected