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

Classes

class  MyDeviceConfig
 Test ActuatorConfig class used for testing purposes. More...
 
class  TestActuatorConfig
 

Functions

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

Variables

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

Function Documentation

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

testActuatorConfig::TEST_F ( TestActuatorConfig  ,
Ctor   
)
testActuatorConfig::TEST_F ( TestActuatorConfig  ,
ReadConfig   
)
testActuatorConfig::TEST_F ( TestActuatorConfig  ,
GetIdentifier   
)
testActuatorConfig::TEST_F ( TestActuatorConfig  ,
GetPrefix   
)
testActuatorConfig::TEST_F ( TestActuatorConfig  ,
GetAddress   
)
testActuatorConfig::TEST_F ( TestActuatorConfig  ,
GetType   
)
testActuatorConfig::TEST_F ( TestActuatorConfig  ,
GetNamespace   
)
testActuatorConfig::TEST_F ( TestActuatorConfig  ,
GetNodeId   
)
testActuatorConfig::TEST_F ( TestActuatorConfig  ,
GetProcId   
)
testActuatorConfig::TEST_F ( TestActuatorConfig  ,
GetObjId   
)

Variable Documentation

std::string const testActuatorConfig::ACTUATOR1_CFG = std::string(WAF_MODULE_PATH) + "/test/res/actuator1.yml"
std::string const testActuatorConfig::CONFIG_CFG = std::string(WAF_MODULE_PATH) + "/test/res/config.yml"
std::string const testActuatorConfig::WRONG_CFG = std::string(WAF_MODULE_PATH) + "/test/res/wrong.yml"