SmartTester  2.0.0
Smart Tester is unit testing and regression testing framework used for testing SmartCGMS system.
Public Member Functions | Static Public Member Functions | List of all members
GuidTesterMapper Class Reference

#include <GuidTesterMapper.h>

Public Member Functions

tester::FilterUnitTestergetTesterInstance (const GUID &guid)
 
 GuidTesterMapper (GuidTesterMapper const &)=delete
 
void operator= (GuidTesterMapper const &)=delete
 

Static Public Member Functions

static GuidTesterMapperGetInstance ()
 

Detailed Description

Singleton class used to map GUID to appropriate instance of derived GenericUnitTester class. GuidTesterMapper provides method to retrieve this instance but it requires CDynamic_Library helper class pointer that will be used to load shared libraries of that filter, TestFilter class pointer that will be appended to tested filter to collect the event passed to filter during testing and GUID of wanted filter.

Member Function Documentation

◆ GetInstance()

GuidTesterMapper & GuidTesterMapper::GetInstance ( )
static

Returns the instance of FileTesterMapper.

Returns
instance of FileTesterMapper singleton class

◆ getTesterInstance()

tester::FilterUnitTester * GuidTesterMapper::getTesterInstance ( const GUID &  guid)

Returns a pointer to a tester instance based on given guid. Caller TAKES OWNERSHIP of the returned pointer - has to delete the instance manually.

Parameters
guidguid of a filter, that we want to test
Returns
owning pointer to a tester instance

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