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

Method setNumberToCrashOn

src/CppUTest/TestMemoryAllocator.cpp:239–242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237}
238
239void CrashOnAllocationAllocator::setNumberToCrashOn(unsigned allocationToCrashOn)
240{
241 allocationToCrashOn_ = allocationToCrashOn;
242}
243
244char* CrashOnAllocationAllocator::alloc_memory(size_t size, const char* file, size_t line)
245{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected