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

Classes

class  MyDeviceConfig
 Test ShutterConfig class used for testing purposes. More...
 
class  TestShutterConfig
 

Functions

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

Variables

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

Function Documentation

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

testShutterConfig::TEST_F ( TestShutterConfig  ,
Ctor   
)
testShutterConfig::TEST_F ( TestShutterConfig  ,
ReadConfig   
)
testShutterConfig::TEST_F ( TestShutterConfig  ,
GetIdentifier   
)
testShutterConfig::TEST_F ( TestShutterConfig  ,
GetPrefix   
)
testShutterConfig::TEST_F ( TestShutterConfig  ,
GetAddress   
)
testShutterConfig::TEST_F ( TestShutterConfig  ,
GetType   
)
testShutterConfig::TEST_F ( TestShutterConfig  ,
GetNamespace   
)
testShutterConfig::TEST_F ( TestShutterConfig  ,
GetNodeId   
)
testShutterConfig::TEST_F ( TestShutterConfig  ,
GetProcId   
)
testShutterConfig::TEST_F ( TestShutterConfig  ,
GetObjId   
)

Variable Documentation

std::string const testShutterConfig::CONFIG_CFG = std::string(WAF_MODULE_PATH) + "/test/res/config.yml"
std::string const testShutterConfig::SHUTTER1_CFG = std::string(WAF_MODULE_PATH) + "/test/res/shutter1.yml"
std::string const testShutterConfig::WRONG_CFG = std::string(WAF_MODULE_PATH) + "/test/res/wrong.yml"