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

Classes

class  MyDeviceConfig
 Test PiezoConfig class used for testing purposes. More...
 
class  TestPiezoConfig
 

Functions

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

Variables

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

Function Documentation

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

testPiezoConfig::TEST_F ( TestPiezoConfig  ,
Ctor   
)
testPiezoConfig::TEST_F ( TestPiezoConfig  ,
ReadConfig   
)
testPiezoConfig::TEST_F ( TestPiezoConfig  ,
GetConfig   
)
testPiezoConfig::TEST_F ( TestPiezoConfig  ,
GetIdentifier   
)
testPiezoConfig::TEST_F ( TestPiezoConfig  ,
GetPrefix   
)
testPiezoConfig::TEST_F ( TestPiezoConfig  ,
GetAddress   
)
testPiezoConfig::TEST_F ( TestPiezoConfig  ,
GetType   
)
testPiezoConfig::TEST_F ( TestPiezoConfig  ,
GetNamespace   
)
testPiezoConfig::TEST_F ( TestPiezoConfig  ,
GetNodeId   
)
testPiezoConfig::TEST_F ( TestPiezoConfig  ,
GetProcId   
)
testPiezoConfig::TEST_F ( TestPiezoConfig  ,
GetObjId   
)

Variable Documentation

std::string const testPiezoConfig::CONFIG_CFG = std::string(WAF_MODULE_PATH) + "/test/res/config.yml"
std::string const testPiezoConfig::PIEZO1_CFG = std::string(WAF_MODULE_PATH) + "/test/res/piezo1.yml"
std::string const testPiezoConfig::WRONG_CFG = std::string(WAF_MODULE_PATH) + "/test/res/wrong.yml"