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/drot.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 | testDrot::MyDeviceConfig |
Test DrotConfig class used for testing purposes. More... | |
class | testDrot::MyDrot |
Test drot class used for testing purposes. More... | |
class | testDrot::TestDrot |
Namespaces | |
testDrot | |
Functions | |
void | testDrot::ExpectHelper (MockDbAdapter &mock, MockIConfig &config) |
ExpectHelper. More... | |
void | testDrot::ExpectHelperNo (MockDbAdapter &mock) |
void | testDrot::ExpectRead (std::shared_ptr< MockIComm > comm_if, std::shared_ptr< testDrot::MyDeviceConfig > &dev_cfg, fcf::devmgr::drot::DrotControllerData &data, int repetitions) |
testDrot::TEST_F (TestDrot, Ctor) | |
Test Drot constructor. More... | |
testDrot::TEST_F (TestDrot, Connect) | |
Test the connection to the LCS. More... | |
testDrot::TEST_F (TestDrot, Init) | |
Test the Initialisation of the device. More... | |
testDrot::TEST_F (TestDrot, Ignore) | |
Test the device ignore functionality. More... | |
testDrot::TEST_F (TestDrot, Simulate) | |
Test the device simulation functionality. More... | |
testDrot::TEST_F (TestDrot, Setup) | |
Test Shutter Setup method. More... | |
testDrot::TEST_F (TestDrot, Status) | |
Test the device Status method. More... | |
testDrot::TEST_F (TestDrot, EndAcq) | |
Test the end of an acquisition. More... | |
testDrot::TEST_F (TestDrot, Local) | |
Test the device local signal. More... | |
Variables | |
std::string const | testDrot::CONFIG_CFG = std::string(WAF_MODULE_PATH) + "/test/res/config.yml" |
std::string const | testDrot::DROT_CFG = std::string(WAF_MODULE_PATH) + "/test/res/drot1.yml" |
std::string const | testDrot::DROT_MAP_CFG = std::string(WAF_MODULE_PATH) + "/test/res/mapDrot.yml" |
Unit tests for the Motor class.