ifw
0.0.1-dev
|
Unit tests for the Device 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/deviceMaker.hpp"
#include "devmgr/common/device.hpp"
#include "devmgr/common/deviceConfig.hpp"
#include "devmgr/common/configSet.hpp"
#include <devmgr/common/deviceLcsIf.hpp>
#include "devmgr/devices/lamp.hpp"
#include <rad/DbAdapterRedis.hpp>
#include <rad/Dispatcher.hpp>
#include <rad/MsgReplier.hpp>
#include <rad/SMAdapter.hpp>
#include "ctd/system/system.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"
#include "mock/mockIDeviceConfig.hpp"
Classes | |
class | testLamp::MyDeviceConfig |
class | testLamp::MyLamp |
class | testLamp::TestLamp |
Namespaces | |
testLamp | |
Functions | |
void | testLamp::expect_helper (MockDbAdapter &mock, MockIConfig &config) |
expect_helper More... | |
void | testLamp::expect_helper_no (MockDbAdapter &mock) |
void | testLamp::expect_read (std::shared_ptr< MockIComm > comm_if, std::shared_ptr< testLamp::MyDeviceConfig > &dev_cfg, devmgr::lamp::LampControllerData &data, int repetitions) |
testLamp::TEST_F (TestLamp, Ctor) | |
Test Lamp constructor. More... | |
testLamp::TEST_F (TestLamp, Connect) | |
testLamp::TEST_F (TestLamp, Init) | |
testLamp::TEST_F (TestLamp, Ignore) | |
testLamp::TEST_F (TestLamp, Simulate) | |
testLamp::TEST_F (TestLamp, Setup) | |
Test Lamp Setup method. More... | |
testLamp::TEST_F (TestLamp, Status) | |
testLamp::TEST_F (TestLamp, EndAcq) | |
testLamp::TEST_F (TestLamp, Local) | |
Variables | |
std::string const | testLamp::CONFIG_CFG = std::string(WAF_MODULE_PATH) + "/test/res/config.yml" |
std::string const | testLamp::LAMP_CFG = std::string(WAF_MODULE_PATH) + "/test/res/testLamp.yml" |
std::string const | testLamp::LAMP_MAP_CFG = std::string(WAF_MODULE_PATH) + "/test/res/testMapLamp.yml" |
Unit tests for the Device class.