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

Unit tests for ActuatorConfig 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/actuatorConfig.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  testActuatorConfig::MyDeviceConfig
 Test ActuatorConfig class used for testing purposes. More...
 
class  testActuatorConfig::TestActuatorConfig
 

Namespaces

 testActuatorConfig
 

Functions

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

Variables

std::string const testActuatorConfig::CONFIG_CFG = std::string(WAF_MODULE_PATH) + "/test/res/config.yml"
 
std::string const testActuatorConfig::ACTUATOR1_CFG = std::string(WAF_MODULE_PATH) + "/test/res/actuator1.yml"
 
std::string const testActuatorConfig::WRONG_CFG = std::string(WAF_MODULE_PATH) + "/test/res/wrong.yml"
 

Detailed Description

Unit tests for ActuatorConfig class.