ifw-fcf
2.0.0
|
Unit tests for ShutterConfig 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/shutterConfig.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 | testShutterConfig::MyDeviceConfig |
Test ShutterConfig class used for testing purposes. More... | |
class | testShutterConfig::TestShutterConfig |
Namespaces | |
testShutterConfig | |
Functions | |
void | testShutterConfig::ExpectHelper (MockDbAdapter &mock) |
ExpectHelper. 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" |
Unit tests for ShutterConfig class.