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

Classes

class  MyDeviceConfig
 Test DrotConfig class used for testing purposes. More...
 
class  TestDrotConfig
 

Functions

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

Variables

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

Function Documentation

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

testDrotConfig::TEST_F ( TestDrotConfig  ,
Ctor   
)
testDrotConfig::TEST_F ( TestDrotConfig  ,
ReadConfig   
)
testDrotConfig::TEST_F ( TestDrotConfig  ,
GetIdentifier   
)
testDrotConfig::TEST_F ( TestDrotConfig  ,
GetPrefix   
)
testDrotConfig::TEST_F ( TestDrotConfig  ,
GetAddress   
)
testDrotConfig::TEST_F ( TestDrotConfig  ,
GetType   
)
testDrotConfig::TEST_F ( TestDrotConfig  ,
GetNamespace   
)
testDrotConfig::TEST_F ( TestDrotConfig  ,
GetNodeId   
)
testDrotConfig::TEST_F ( TestDrotConfig  ,
GetProcId   
)
testDrotConfig::TEST_F ( TestDrotConfig  ,
GetObjId   
)

Variable Documentation

std::string const testDrotConfig::CONFIG_CFG = std::string(WAF_MODULE_PATH) + "/test/res/config.yml"
std::string const testDrotConfig::DROT1_CFG = std::string(WAF_MODULE_PATH) + "/test/res/drot1.yml"
std::string const testDrotConfig::WRONG_CFG = std::string(WAF_MODULE_PATH) + "/test/res/wrong.yml"