| 117 | } |
| 118 | |
| 119 | void MemoryReporterPlugin::preTestAction(UtestShell& test, TestResult& result) |
| 120 | { |
| 121 | if (formatter_ == NULLPTR) return; |
| 122 | |
| 123 | initializeAllocator(&mallocAllocator, result); |
| 124 | initializeAllocator(&newAllocator, result); |
| 125 | initializeAllocator(&newArrayAllocator, result); |
| 126 | |
| 127 | setGlobalMemoryReportAllocators(); |
| 128 | |
| 129 | if (test.getGroup() != currentTestGroup_) { |
| 130 | formatter_->report_testgroup_start(&result, test); |
| 131 | currentTestGroup_ = test.getGroup(); |
| 132 | } |
| 133 | |
| 134 | formatter_->report_test_start(&result, test); |
| 135 | } |
| 136 | |
| 137 | void MemoryReporterPlugin::postTestAction(UtestShell& test, TestResult& result) |
| 138 | { |
nothing calls this directly
no test coverage detected