IrrIMGUI
0.3.1
|
This CppUTest plugin performs the basic memory leak detection in every unti test. More...
#include <BasicMemoryLeakDetectionPlugin.h>
Public Member Functions | |
BasicMemoryLeakDetectionPlugin (const SimpleString &name="BasicMemoryLeakDetection") | |
Constructor. More... | |
virtual | ~BasicMemoryLeakDetectionPlugin () |
Destructor. More... | |
virtual void | preTestAction (UtestShell &rShell, TestResult &rResult) |
Is performed before every testcase starts. More... | |
virtual void | postTestAction (UtestShell &rShell, TestResult &rResult) |
Is performed after every testcase. It checks, if the memory state difference is 0. If not, it will add an failure to that testcase. More... | |
Private Attributes | |
IrrIMGUI::Tools::CBasicMemoryLeakDetection | mMemoryLeakDetection |
This CppUTest plugin performs the basic memory leak detection in every unti test.
Definition at line 52 of file BasicMemoryLeakDetectionPlugin.h.
|
inline |
Constructor.
Definition at line 56 of file BasicMemoryLeakDetectionPlugin.h.
|
inlinevirtual |
Destructor.
Definition at line 59 of file BasicMemoryLeakDetectionPlugin.h.
|
inlinevirtual |
Is performed after every testcase. It checks, if the memory state difference is 0. If not, it will add an failure to that testcase.
Definition at line 69 of file BasicMemoryLeakDetectionPlugin.h.
|
inlinevirtual |
Is performed before every testcase starts.
Definition at line 62 of file BasicMemoryLeakDetectionPlugin.h.
|
private |
Definition at line 89 of file BasicMemoryLeakDetectionPlugin.h.