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

Unit tests for PiezoConfig 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/piezoConfig.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  testPiezoConfig::MyDeviceConfig
 Test PiezoConfig class used for testing purposes. More...
 
class  testPiezoConfig::TestPiezoConfig
 

Namespaces

 testPiezoConfig
 

Functions

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

Variables

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"
 

Detailed Description

Unit tests for PiezoConfig class.