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

Method stop

src/CppUTest/SimpleString.cpp:84–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84void GlobalSimpleStringMemoryAccountant::stop()
85{
86 if (allocator_ == NULLPTR)
87 FAIL("Global SimpleString allocator stopped without starting");
88
89 if (SimpleString::getStringAllocator() != allocator_)
90 FAIL("GlobalStrimpleStringMemoryAccountant: allocator has changed between start and stop!");
91
92 restoreAllocator();
93}
94
95SimpleString GlobalSimpleStringMemoryAccountant::report()
96{

Callers 9

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

Calls

no outgoing calls

Tested by 9

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