IrrIMGUI  0.3.1
Public Member Functions | Private Attributes | List of all members
IrrIMGUI::UnitTest::BasicMemoryLeakDetectionPlugin Class Reference

This CppUTest plugin performs the basic memory leak detection in every unti test. More...

#include <BasicMemoryLeakDetectionPlugin.h>

Inheritance diagram for IrrIMGUI::UnitTest::BasicMemoryLeakDetectionPlugin:
Inheritance graph
[legend]
Collaboration diagram for IrrIMGUI::UnitTest::BasicMemoryLeakDetectionPlugin:
Collaboration graph
[legend]

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
 

Detailed Description

This CppUTest plugin performs the basic memory leak detection in every unti test.

Definition at line 52 of file BasicMemoryLeakDetectionPlugin.h.

Constructor & Destructor Documentation

IrrIMGUI::UnitTest::BasicMemoryLeakDetectionPlugin::BasicMemoryLeakDetectionPlugin ( const SimpleString &  name = "BasicMemoryLeakDetection")
inline

Constructor.

Definition at line 56 of file BasicMemoryLeakDetectionPlugin.h.

virtual IrrIMGUI::UnitTest::BasicMemoryLeakDetectionPlugin::~BasicMemoryLeakDetectionPlugin ( )
inlinevirtual

Destructor.

Definition at line 59 of file BasicMemoryLeakDetectionPlugin.h.

Here is the call graph for this function:

Member Function Documentation

virtual void IrrIMGUI::UnitTest::BasicMemoryLeakDetectionPlugin::postTestAction ( UtestShell &  rShell,
TestResult &  rResult 
)
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.

Here is the call graph for this function:

virtual void IrrIMGUI::UnitTest::BasicMemoryLeakDetectionPlugin::preTestAction ( UtestShell &  rShell,
TestResult &  rResult 
)
inlinevirtual

Is performed before every testcase starts.

Definition at line 62 of file BasicMemoryLeakDetectionPlugin.h.

Here is the call graph for this function:

Member Data Documentation

IrrIMGUI::Tools::CBasicMemoryLeakDetection IrrIMGUI::UnitTest::BasicMemoryLeakDetectionPlugin::mMemoryLeakDetection
private

Definition at line 89 of file BasicMemoryLeakDetectionPlugin.h.


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