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

Method report_free_memory

src/CppUTestExt/MemoryReportFormatter.cpp:55–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55void NormalMemoryReportFormatter::report_free_memory(TestResult* result, TestMemoryAllocator* allocator, char* memory, const char* file, size_t line)
56{
57 result->print(StringFromFormat("\tDeallocation using %s of pointer: %p at %s:%d\n", allocator->free_name(), (void*) memory, file, (int) line).asCharString());
58}
59
60void NormalMemoryReportFormatter::report_testgroup_start(TestResult* result, UtestShell& test)
61{

Callers 1

free_memoryMethod · 0.45

Calls 4

StringFromFormatFunction · 0.85
asCharStringMethod · 0.80
printMethod · 0.45
free_nameMethod · 0.45

Tested by

no test coverage detected