SmartTester
2.0.0
Smart Tester is unit testing and regression testing framework used for testing SmartCGMS system.
|
#include <GuidTesterMapper.h>
Public Member Functions | |
tester::FilterUnitTester * | getTesterInstance (const GUID &guid) |
GuidTesterMapper (GuidTesterMapper const &)=delete | |
void | operator= (GuidTesterMapper const &)=delete |
Static Public Member Functions | |
static GuidTesterMapper & | GetInstance () |
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.
|
static |
Returns the instance of FileTesterMapper.
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.
guid | guid of a filter, that we want to test |