ifw-fcf 7.1.4
|
Unit tests for the Device class. More...
#include <ifw/fcf/devmgr/common/actionMgr.hpp>
#include <ifw/fcf/devmgr/common/config.hpp>
#include <ifw/fcf/devmgr/common/dataContext.hpp>
#include <ifw/fcf/devmgr/common/deviceFacade.hpp>
#include "ifw/fcf/devmgr/common/deviceMaker.hpp"
#include "ifw/fcf/devmgr/common/device.hpp"
#include "ifw/fcf/devmgr/common/deviceConfig.hpp"
#include <ifw/fcf/devmgr/common/deviceLcsIf.hpp>
#include "ifw/fcf/devmgr/devices/lamp.hpp"
#include <rad/dbAdapterRedis.hpp>
#include <rad/msgReplier.hpp>
#include <rad/smAdapter.hpp>
#include <ifw/core/utils/base/base.hpp>
#include <boost/asio.hpp>
#include <gtest/gtest.h>
#include "mock/mockIComm.hpp"
#include "mock/mockIDeviceConfig.hpp"
Classes | |
class | testLamp::MyDeviceConfig |
class | testLamp::MyLamp |
class | testLamp::TestLamp |
Namespaces | |
namespace | testLamp |
Functions | |
void | testLamp::ExpectRead (std::shared_ptr< MockIComm > comm_if, std::shared_ptr< testLamp::MyDeviceConfig > &dev_cfg, ifw::fcf::devmgr::lamp::LampControllerData &data, int repetitions) |
testLamp::TEST_F (TestLamp, Ctor) | |
Test the device class constructor. | |
testLamp::TEST_F (TestLamp, Connect) | |
Test the connection to the LCS. | |
testLamp::TEST_F (TestLamp, Init) | |
Test the Initialisation of the device. | |
testLamp::TEST_F (TestLamp, Ignore) | |
Test the device ignore functionality. | |
testLamp::TEST_F (TestLamp, Simulate) | |
Test the device simulation functionality. | |
testLamp::TEST_F (TestLamp, Setup) | |
testLamp::TEST_F (TestLamp, Status) | |
Test the device Status method. | |
testLamp::TEST_F (TestLamp, EndAcq) | |
Test the end of an acquisition. | |
testLamp::TEST_F (TestLamp, Local) | |
Test the device local signal. | |
Variables | |
std::string const | testLamp::CONFIG_CFG = std::string("config/config.yaml") |
std::string const | testLamp::LAMP_CFG = std::string("config/testLamp.yaml") |
std::string const | testLamp::LAMP_MAP_CFG = std::string("config/testMapLamp.yaml") |
Unit tests for the Device class.