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

Method alloc_memory

tests/CppUTest/SimpleStringTest.cpp:184–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182
183 bool memoryWasAllocated;
184 char* alloc_memory(size_t size, const char* file, size_t line) _override
185 {
186 memoryWasAllocated = true;
187 return TestMemoryAllocator::alloc_memory(size, file, line);
188 }
189};
190
191TEST(SimpleString, allocatorForSimpleStringCanBeReplaced)

Calls

no outgoing calls

Tested by

no test coverage detected