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

Method report_test_start

src/CppUTestExt/CodeMemoryReportFormatter.cpp:138–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136}
137
138void CodeMemoryReportFormatter::report_test_start(TestResult* result, UtestShell& test)
139{
140 clearReporting();
141 result->print(StringFromFormat("*/\nTEST(%s_memoryReport, %s)\n{ /* at %s:%d */\n",
142 test.getGroup().asCharString(), test.getName().asCharString(), test.getFile().asCharString(), (int) test.getLineNumber()).asCharString());
143}
144
145void CodeMemoryReportFormatter::report_test_end(TestResult* result, UtestShell&)
146{

Callers

nothing calls this directly

Calls 7

StringFromFormatFunction · 0.85
asCharStringMethod · 0.80
getGroupMethod · 0.80
getFileMethod · 0.80
getLineNumberMethod · 0.80
printMethod · 0.45
getNameMethod · 0.45

Tested by

no test coverage detected