SmartTester  2.0.0
Smart Tester is unit testing and regression testing framework used for testing SmartCGMS system.
MappingFilterUnitTester.h
1 //
2 // Author: markovd@students.zcu.cz
3 //
4 
5 #pragma once
6 
7 #ifndef _MAPPING_FILTER_UNIT_TESTER_H_
8 #define _MAPPING_FILTER_UNIT_TESTER_H_
9 #include <rtl/hresult.h>
10 #include "../testers/GenericUnitTester.h"
11 
12 namespace tester {
17  public: // public methods
19  void executeSpecificTests() override;
25  HRESULT levelEventMappingTest();
31  HRESULT infoEventMappingTest();
50  HRESULT nullDestinationIdTest();
63  HRESULT allSourceIdTest();
64 
65  private: // private methods
66  HRESULT eventMappingTest(const tester::MappingFilterConfig &config, scgms::NDevice_Event_Code eventCode, const GUID& signalId = Invalid_GUID);
67  };
68 }
69 #endif // !_MAPPING_FILTER_UNIT_TESTER_H_
tester::MappingFilterUnitTester::notConfiguredSignalMappingTest
HRESULT notConfiguredSignalMappingTest()
Definition: MappingFilterUnitTester.cpp:131
tester::MappingFilterUnitTester::allSourceIdTest
HRESULT allSourceIdTest()
Definition: MappingFilterUnitTester.cpp:278
tester::MappingFilterUnitTester
Definition: MappingFilterUnitTester.h:16
tester::MappingFilterUnitTester::infoEventMappingTest
HRESULT infoEventMappingTest()
Definition: MappingFilterUnitTester.cpp:68
tester::MappingFilterUnitTester::differentSrcIdNullDestinationIdTest
HRESULT differentSrcIdNullDestinationIdTest()
Definition: MappingFilterUnitTester.cpp:224
tester::MappingFilterConfig
Definition: FilterConfiguration.h:70
tester::MappingFilterUnitTester::nullDestinationIdTest
HRESULT nullDestinationIdTest()
Definition: MappingFilterUnitTester.cpp:184
tester::MappingFilterUnitTester::levelEventMappingTest
HRESULT levelEventMappingTest()
Definition: MappingFilterUnitTester.cpp:63
tester::MappingFilterUnitTester::parametersEventMappingTest
HRESULT parametersEventMappingTest()
Definition: MappingFilterUnitTester.cpp:73
tester::FilterUnitTester
Definition: GenericUnitTester.h:281
tester::MappingFilterUnitTester::executeSpecificTests
void executeSpecificTests() override
Executes all tests for a specific filter. Needs to be implemented by derived class.
Definition: MappingFilterUnitTester.cpp:16