ifw  0.0.1-dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Functions | Variables
testShutterConfig.cpp File Reference

Unit tests for ShutterConfig class. More...

#include <fcf/common/dispatcher.hpp>
#include <devmgr/common/actionMgr.hpp>
#include <devmgr/common/config.hpp>
#include <devmgr/common/dataContext.hpp>
#include <devmgr/common/deviceFacade.hpp>
#include <devmgr/common/device.hpp>
#include <devmgr/common/deviceLcsIf.hpp>
#include <devmgr/devices/shutterConfig.hpp>
#include <rad/DbAdapterRedis.hpp>
#include <rad/Dispatcher.hpp>
#include <rad/MsgReplier.hpp>
#include <rad/SMAdapter.hpp>
#include <boost/asio.hpp>
#include <gtest/gtest.h>
#include <google/protobuf/stubs/common.h>
#include "mock/mockIComm.hpp"
#include "mock/mockDbAdapter.hpp"
#include "mock/mockIConfig.hpp"

Classes

class  testShutterConfig::MyDeviceConfig
 Test ShutterConfig class used for testing purposes. More...
 
class  testShutterConfig::TestShutterConfig
 

Namespaces

 testShutterConfig
 

Functions

void testShutterConfig::expect_helper (MockDbAdapter &mock)
 expect_helper More...
 
 testShutterConfig::TEST_F (TestShutterConfig, Ctor)
 
 testShutterConfig::TEST_F (TestShutterConfig, ReadConfig)
 
 testShutterConfig::TEST_F (TestShutterConfig, GetIdentifier)
 
 testShutterConfig::TEST_F (TestShutterConfig, GetPrefix)
 
 testShutterConfig::TEST_F (TestShutterConfig, GetAddress)
 
 testShutterConfig::TEST_F (TestShutterConfig, GetType)
 
 testShutterConfig::TEST_F (TestShutterConfig, GetNamespace)
 
 testShutterConfig::TEST_F (TestShutterConfig, GetNodeId)
 
 testShutterConfig::TEST_F (TestShutterConfig, GetProcId)
 
 testShutterConfig::TEST_F (TestShutterConfig, GetObjId)
 

Variables

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

Detailed Description

Unit tests for ShutterConfig class.

Author
mkiekebu