Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
52
TEST(TestMemoryAllocatorTest, SetCurrentNewAllocator)
Callers
nothing calls this directly
Calls
4
checkAllFailedAllocsWereDone
Method · 0.80
clearFailedAllocs
Method · 0.80
restore
Method · 0.45
clear
Method · 0.45
Tested by
no test coverage detected