Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cpputest/cpputest
/ setup
Function
setup
tests/CppUTest/TestMemoryAllocatorTest.cpp:39–43 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
37
GlobalMemoryAllocatorStash memoryAllocatorStash;
38
39
void setup()
40
{
41
allocator = NULLPTR;
42
memoryAllocatorStash.save();
43
}
44
45
void teardown()
46
{
Callers
nothing calls this directly
Calls
5
defaultMallocAllocator
Function · 0.85
setCurrentMallocAllocator
Function · 0.85
getCurrentMallocAllocator
Function · 0.85
setTestFunction
Method · 0.80
save
Method · 0.45
Tested by
no test coverage detected