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

Method initializeAllocator

src/CppUTestExt/MemoryReporterPlugin.cpp:113–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113void MemoryReporterPlugin::initializeAllocator(MemoryReportAllocator* allocator, TestResult & result)
114{
115 allocator->setFormatter(formatter_);
116 allocator->setTestResult((&result));
117}
118
119void MemoryReporterPlugin::preTestAction(UtestShell& test, TestResult& result)
120{

Callers

nothing calls this directly

Calls 2

setFormatterMethod · 0.80
setTestResultMethod · 0.45

Tested by

no test coverage detected