ifw-fcf
2.0.0
|
Unit tests for the Motor 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/deviceMaker.hpp"
#include "fcf/devmgr/common/device.hpp"
#include "fcf/devmgr/common/deviceConfig.hpp"
#include "fcf/devmgr/common/configSet.hpp"
#include <fcf/devmgr/common/deviceLcsIf.hpp>
#include "fcf/devmgr/devices/adc.hpp"
#include "ctd/system/system.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"
#include "mock/mockIDeviceConfig.hpp"
Classes | |
class | testAdc::MyDeviceConfig |
Test AdcConfig class used for testing purposes. More... | |
class | testAdc::MyAdc |
Test adc class used for testing purposes. More... | |
class | testAdc::TestAdc |
Namespaces | |
testAdc | |
Functions | |
void | testAdc::ExpectHelper (MockDbAdapter &mock, MockIConfig &config) |
ExpectHelper. More... | |
void | testAdc::ExpectHelperNo (MockDbAdapter &mock) |
void | testAdc::ExpectRead (std::shared_ptr< MockIComm > comm_if, std::shared_ptr< testAdc::MyDeviceConfig > &dev_cfg, fcf::devmgr::adc::AdcControllerData &data, int repetitions) |
testAdc::TEST_F (TestAdc, Ctor) | |
Test the Adc device class constructor. More... | |
testAdc::TEST_F (TestAdc, Connect) | |
Test the connection to the LCS. More... | |
testAdc::TEST_F (TestAdc, Init) | |
Test the Initialisation of the device. More... | |
testAdc::TEST_F (TestAdc, Ignore) | |
Test the device ignore functionality. More... | |
testAdc::TEST_F (TestAdc, Simulate) | |
Test the device simulation functionality. More... | |
testAdc::TEST_F (TestAdc, Setup) | |
Test Shutter Setup method. More... | |
testAdc::TEST_F (TestAdc, Status) | |
Test the device Status method. More... | |
testAdc::TEST_F (TestAdc, EndAcq) | |
Test the end of an acquisition. More... | |
Variables | |
std::string const | testAdc::CONFIG_CFG = std::string(WAF_MODULE_PATH) + "/test/res/config.yml" |
std::string const | testAdc::ADC_CFG = std::string(WAF_MODULE_PATH) + "/test/res/adc1.yml" |
std::string const | testAdc::ADC_MAP_CFG = std::string(WAF_MODULE_PATH) + "/test/res/mapAdc.yml" |
Unit tests for the Motor class.