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

Method start

src/CppUTest/SimpleString.cpp:74–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74void GlobalSimpleStringMemoryAccountant::start()
75{
76 if (allocator_ != NULLPTR)
77 return;
78
79 allocator_ = new AccountingTestMemoryAllocator(*accountant_, SimpleString::getStringAllocator());
80
81 SimpleString::setStringAllocator(allocator_);
82}
83
84void GlobalSimpleStringMemoryAccountant::stop()
85{

Callers 9

TESTFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by 9

TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
mainFunction · 0.36