CppUTest
Public Member Functions | Public Attributes | List of all members
AllocatorForMemoryLeakDetectionTest Class Reference
Inheritance diagram for AllocatorForMemoryLeakDetectionTest:
TestMemoryAllocator

Public Member Functions

char * alloc_memory (size_t size, const char *file, int line)
 
void free_memory (char *memory, const char *file, int line)
 
char * allocMemoryLeakNode (size_t size)
 
void freeMemoryLeakNode (char *memory)
 
- Public Member Functions inherited from TestMemoryAllocator
 TestMemoryAllocator (const char *name_str="generic", const char *alloc_name_str="alloc", const char *free_name_str="free")
 
bool hasBeenDestroyed ()
 
virtual const char * name ()
 
virtual const char * alloc_name ()
 
virtual const char * free_name ()
 
virtual bool isOfEqualType (TestMemoryAllocator *allocator)
 

Public Attributes

int alloc_called
 
int free_called
 
int allocMemoryLeakNodeCalled
 
int freeMemoryLeakNodeCalled
 

Additional Inherited Members

- Protected Attributes inherited from TestMemoryAllocator
const char * name_
 
const char * alloc_name_
 
const char * free_name_
 
bool hasBeenDestroyed_
 

The documentation for this class was generated from the following file: