ifw
0.0.1-dev
|
Unit tests for LampConfig 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/lampConfig.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 | testLampConfig::MyDeviceConfig |
Test LampConfig class used for testing purposes. More... | |
class | testLampConfig::TestLampConfig |
Namespaces | |
testLampConfig | |
Functions | |
void | testLampConfig::expect_helper (MockDbAdapter &mock) |
expect_helper More... | |
testLampConfig::TEST_F (TestLampConfig, Ctor) | |
testLampConfig::TEST_F (TestLampConfig, ReadConfig) | |
testLampConfig::TEST_F (TestLampConfig, GetIdentifier) | |
testLampConfig::TEST_F (TestLampConfig, GetPrefix) | |
testLampConfig::TEST_F (TestLampConfig, GetAddress) | |
testLampConfig::TEST_F (TestLampConfig, GetType) | |
testLampConfig::TEST_F (TestLampConfig, GetNamespace) | |
testLampConfig::TEST_F (TestLampConfig, GetNodeId) | |
testLampConfig::TEST_F (TestLampConfig, GetProcId) | |
testLampConfig::TEST_F (TestLampConfig, GetObjId) | |
Variables | |
std::string const | testLampConfig::CONFIG_CFG = std::string(WAF_MODULE_PATH) + "/test/res/config.yml" |
std::string const | testLampConfig::LAMP1_CFG = std::string(WAF_MODULE_PATH) + "/test/res/lamp1.yml" |
std::string const | testLampConfig::WRONG_CFG = std::string(WAF_MODULE_PATH) + "/test/res/wrong.yml" |
Unit tests for LampConfig class.