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

Function TEST

tests/CppUTestExt/CodeMemoryReporterTest.cpp:68–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66
67
68TEST(CodeMemoryReportFormatter, mallocCreatesAnMallocCall)
69{
70 formatter->report_alloc_memory(testResult, cAllocator, 10, memory01, "file", 9);
71 TESTOUTPUT_EQUAL("\tvoid* file_9_1 = malloc(10);\n");
72}
73
74TEST(CodeMemoryReportFormatter, freeCreatesAnFreeCall)
75{

Callers

nothing calls this directly

Calls 8

containsMethod · 0.80
getOutputMethod · 0.80
report_alloc_memoryMethod · 0.45
flushMethod · 0.45
report_free_memoryMethod · 0.45
report_test_startMethod · 0.45
report_test_endMethod · 0.45

Tested by

no test coverage detected