ifw-fcf  3.0.0
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

◆ ExpectHelper()

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.

◆ TEST_F() [1/10]

testShutterConfig::TEST_F ( TestShutterConfig  ,
Ctor   
)

◆ TEST_F() [2/10]

testShutterConfig::TEST_F ( TestShutterConfig  ,
GetAddress   
)

◆ TEST_F() [3/10]

testShutterConfig::TEST_F ( TestShutterConfig  ,
GetIdentifier   
)

◆ TEST_F() [4/10]

testShutterConfig::TEST_F ( TestShutterConfig  ,
GetNamespace   
)

◆ TEST_F() [5/10]

testShutterConfig::TEST_F ( TestShutterConfig  ,
GetNodeId   
)

◆ TEST_F() [6/10]

testShutterConfig::TEST_F ( TestShutterConfig  ,
GetObjId   
)

◆ TEST_F() [7/10]

testShutterConfig::TEST_F ( TestShutterConfig  ,
GetPrefix   
)

◆ TEST_F() [8/10]

testShutterConfig::TEST_F ( TestShutterConfig  ,
GetProcId   
)

◆ TEST_F() [9/10]

testShutterConfig::TEST_F ( TestShutterConfig  ,
GetType   
)

◆ TEST_F() [10/10]

testShutterConfig::TEST_F ( TestShutterConfig  ,
ReadConfig   
)

Variable Documentation

◆ CONFIG_CFG

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

◆ SHUTTER1_CFG

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

◆ WRONG_CFG

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