ifw-fcf  2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions | Variables
testAdcConfig Namespace Reference

Classes

class  MyDeviceConfig
 Test AdcConfig class used for testing purposes. More...
 
class  TestAdcConfig
 

Functions

void ExpectHelper (MockDbAdapter &mock)
 ExpectHelper. More...
 
 TEST_F (TestAdcConfig, Ctor)
 
 TEST_F (TestAdcConfig, ReadConfig)
 
 TEST_F (TestAdcConfig, GetIdentifier)
 
 TEST_F (TestAdcConfig, GetPrefix)
 
 TEST_F (TestAdcConfig, GetAddress)
 
 TEST_F (TestAdcConfig, GetType)
 
 TEST_F (TestAdcConfig, GetNamespace)
 
 TEST_F (TestAdcConfig, GetNodeId)
 
 TEST_F (TestAdcConfig, GetProcId)
 
 TEST_F (TestAdcConfig, GetObjId)
 

Variables

std::string const CONFIG_CFG = std::string(WAF_MODULE_PATH) + "/test/res/config.yml"
 
std::string const ADC1_CFG = std::string(WAF_MODULE_PATH) + "/test/res/adc1.yml"
 
std::string const WRONG_CFG = std::string(WAF_MODULE_PATH) + "/test/res/wrong.yml"
 

Function Documentation

void testAdcConfig::ExpectHelper ( MockDbAdapter mock)

ExpectHelper.

Parameters
mockMock for DbAdapter class

This functions encapsulate the all the calls expected for the mock classes used in the test functions in this file.

testAdcConfig::TEST_F ( TestAdcConfig  ,
Ctor   
)
testAdcConfig::TEST_F ( TestAdcConfig  ,
ReadConfig   
)
testAdcConfig::TEST_F ( TestAdcConfig  ,
GetIdentifier   
)
testAdcConfig::TEST_F ( TestAdcConfig  ,
GetPrefix   
)
testAdcConfig::TEST_F ( TestAdcConfig  ,
GetAddress   
)
testAdcConfig::TEST_F ( TestAdcConfig  ,
GetType   
)
testAdcConfig::TEST_F ( TestAdcConfig  ,
GetNamespace   
)
testAdcConfig::TEST_F ( TestAdcConfig  ,
GetNodeId   
)
testAdcConfig::TEST_F ( TestAdcConfig  ,
GetProcId   
)
testAdcConfig::TEST_F ( TestAdcConfig  ,
GetObjId   
)

Variable Documentation

std::string const testAdcConfig::ADC1_CFG = std::string(WAF_MODULE_PATH) + "/test/res/adc1.yml"
std::string const testAdcConfig::CONFIG_CFG = std::string(WAF_MODULE_PATH) + "/test/res/config.yml"
std::string const testAdcConfig::WRONG_CFG = std::string(WAF_MODULE_PATH) + "/test/res/wrong.yml"