rambrain
testManagedMemory.cpp File Reference

Go to the source code of this file.

Functions

 TEST (managedMemory, Unit_DefaultManagerPresent)
 
 TEST (managedMemory, Unit_DefaultManagerPresentAfterAllocation)
 
 TEST (managedMemory, Unit_BaseMemoryUsage)
 
 TEST (managedMemory, DISABLED_VersionInfo)
 
 TEST (managedMemory, Unit_FallbackToDefaultManagerChain)
 
 TEST (managedMemory, DISABLED_Unit_FallbackToDefaultManagerChainWrongOrder)
 

Function Documentation

TEST ( managedMemory  ,
Unit_DefaultManagerPresent   
)
Test:
Checks presence of a default manager at runtime without doing anything before

Definition at line 29 of file testManagedMemory.cpp.

TEST ( managedMemory  ,
Unit_DefaultManagerPresentAfterAllocation   
)
Test:
Checks whether we fall back to default when deleting our own memory manager instance

Definition at line 37 of file testManagedMemory.cpp.

TEST ( managedMemory  ,
Unit_BaseMemoryUsage   
)
Test:
Checks basic manager usage stats for consistency under resize

Definition at line 48 of file testManagedMemory.cpp.

TEST ( managedMemory  ,
DISABLED_VersionInfo   
)
Test:
prints out a version info (git version + diff)

Definition at line 61 of file testManagedMemory.cpp.

TEST ( managedMemory  ,
Unit_FallbackToDefaultManagerChain   
)
Test:
Check if multiple managers are allocated and deleted (in the right order), that we can fallback to the original manager

Definition at line 69 of file testManagedMemory.cpp.

TEST ( managedMemory  ,
DISABLED_Unit_FallbackToDefaultManagerChainWrongOrder   
)
Test:
Check what happens to the default manager if we delete a chain of managers in the wrong order

Definition at line 94 of file testManagedMemory.cpp.