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

Function teardown

tests/CppUTestExt/MemoryReporterPluginTest.cpp:141–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139 mock("reporter").enable();
140 }
141 void teardown()
142 {
143 setCurrentNewAllocator(previousNewAllocator);
144 mock().clear();
145 delete reporter;
146 delete test;
147 delete result;
148 }
149};
150
151TEST(MemoryReporterPlugin, offReportsNothing)

Callers

nothing calls this directly

Calls 2

setCurrentNewAllocatorFunction · 0.85
clearMethod · 0.45

Tested by

no test coverage detected