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

Method FinalReport

src/CppUTest/MemoryLeakWarningPlugin.cpp:638–643  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

636}
637
638const char* MemoryLeakWarningPlugin::FinalReport(size_t toBeDeletedLeaks)
639{
640 size_t leaks = memLeakDetector_->totalMemoryLeaks(mem_leak_period_enabled);
641 if (leaks != toBeDeletedLeaks) return memLeakDetector_->report(mem_leak_period_enabled);
642 return "";
643}
644
645

Callers 1

RunAllTestsMethod · 0.45

Calls 2

totalMemoryLeaksMethod · 0.80
reportMethod · 0.45

Tested by 1

RunAllTestsMethod · 0.36