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

Classes

class  MyDeviceConfig
 Test MotorConfig class used for testing purposes. More...
 
class  TestMotorConfig
 

Functions

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

Variables

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

Function Documentation

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

testMotorConfig::TEST_F ( TestMotorConfig  ,
Ctor   
)
testMotorConfig::TEST_F ( TestMotorConfig  ,
ReadConfig   
)
testMotorConfig::TEST_F ( TestMotorConfig  ,
GetIdentifier   
)
testMotorConfig::TEST_F ( TestMotorConfig  ,
GetPrefix   
)
testMotorConfig::TEST_F ( TestMotorConfig  ,
GetAddress   
)
testMotorConfig::TEST_F ( TestMotorConfig  ,
GetType   
)
testMotorConfig::TEST_F ( TestMotorConfig  ,
GetNamespace   
)
testMotorConfig::TEST_F ( TestMotorConfig  ,
GetNodeId   
)
testMotorConfig::TEST_F ( TestMotorConfig  ,
GetProcId   
)
testMotorConfig::TEST_F ( TestMotorConfig  ,
GetObjId   
)

Variable Documentation

std::string const testMotorConfig::CONFIG_CFG = std::string(WAF_MODULE_PATH) + "/test/res/config.yml"
std::string const testMotorConfig::MOTOR1_CFG = std::string(WAF_MODULE_PATH) + "/test/res/motor1.yml"
std::string const testMotorConfig::WRONG_CFG = std::string(WAF_MODULE_PATH) + "/test/res/wrong.yml"