MCPcopy 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

defaultMallocAllocatorFunction · 0.85
setTestFunctionMethod · 0.80
saveMethod · 0.45

Tested by

no test coverage detected