| 125 | UtestShell* test; |
| 126 | |
| 127 | void setup() |
| 128 | { |
| 129 | previousNewAllocator = getCurrentNewAllocator(); |
| 130 | result = new TestResult(output); |
| 131 | test = new UtestShell("groupname", "testname", "filename", 1); |
| 132 | reporter = new MemoryReporterPluginUnderTest; |
| 133 | |
| 134 | mock("formatter").installComparator("TestMemoryAllocator", memLeakAllocatorComparator); |
| 135 | |
| 136 | mock("reporter").disable(); |
| 137 | const char *cmd_line[] = {"-pmemoryreport=normal"}; |
| 138 | reporter->parseArguments(1, cmd_line, 0); |
| 139 | mock("reporter").enable(); |
| 140 | } |
| 141 | void teardown() |
| 142 | { |
| 143 | setCurrentNewAllocator(previousNewAllocator); |
nothing calls this directly
no test coverage detected