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