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

Unit tests for DrotConfig class. More...

#include <fcf/common/dispatcher.hpp>
#include <fcf/devmgr/common/actionMgr.hpp>
#include <fcf/devmgr/common/config.hpp>
#include <fcf/devmgr/common/dataContext.hpp>
#include <fcf/devmgr/common/deviceFacade.hpp>
#include <fcf/devmgr/common/device.hpp>
#include <fcf/devmgr/common/deviceLcsIf.hpp>
#include <fcf/devmgr/devices/drotConfig.hpp>
#include <rad/dbAdapterRedis.hpp>
#include <rad/msgReplier.hpp>
#include <rad/smAdapter.hpp>
#include <boost/asio.hpp>
#include <gtest/gtest.h>
#include "mock/mockIComm.hpp"
#include "mock/mockDbAdapter.hpp"
#include "mock/mockIConfig.hpp"

Classes

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

Namespaces

 testDrotConfig
 

Functions

void testDrotConfig::ExpectHelper (MockDbAdapter &mock)
 ExpectHelper. More...
 
 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)
 

Variables

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"
 

Detailed Description

Unit tests for DrotConfig class.

Author
mkiekebu