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

Function teardown

tests/CppUTest/TestMemoryAllocatorTest.cpp:45–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43 }
44
45 void teardown()
46 {
47 memoryAllocatorStash.restore();
48 delete allocator;
49 }
50};
51
52TEST(TestMemoryAllocatorTest, SetCurrentNewAllocator)

Callers

nothing calls this directly

Calls 4

clearFailedAllocsMethod · 0.80
restoreMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected