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

Classes

class  MyDeviceConfig
 Test SensorConfig class used for testing purposes. More...
 
class  TestSensorConfig
 

Functions

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

Variables

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

Function Documentation

void testSensorConfig::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.

testSensorConfig::TEST_F ( TestSensorConfig  ,
Ctor   
)
testSensorConfig::TEST_F ( TestSensorConfig  ,
ReadConfig   
)
testSensorConfig::TEST_F ( TestSensorConfig  ,
GetIdentifier   
)
testSensorConfig::TEST_F ( TestSensorConfig  ,
GetPrefix   
)
testSensorConfig::TEST_F ( TestSensorConfig  ,
GetAddress   
)
testSensorConfig::TEST_F ( TestSensorConfig  ,
GetType   
)
testSensorConfig::TEST_F ( TestSensorConfig  ,
GetNamespace   
)
testSensorConfig::TEST_F ( TestSensorConfig  ,
GetNodeId   
)
testSensorConfig::TEST_F ( TestSensorConfig  ,
GetProcId   
)
testSensorConfig::TEST_F ( TestSensorConfig  ,
GetObjId   
)
testSensorConfig::TEST_F ( TestSensorConfig  ,
GetChannels   
)

Variable Documentation

std::string const testSensorConfig::CONFIG_CFG = std::string(WAF_MODULE_PATH) + "/test/res/config.yml"
std::string const testSensorConfig::SENSOR1_CFG = std::string(WAF_MODULE_PATH) + "/test/res/sensor1.yml"
std::string const testSensorConfig::WRONG_CFG = std::string(WAF_MODULE_PATH) + "/test/res/wrong.yml"