|
ifw-fcf 7.1.4
|
Unit tests for the Motor 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/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/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 | |
| namespace | testMotor |
Functions | |
| void | testMotor::ExpectRead (std::shared_ptr< MockIComm > comm_if, std::shared_ptr< testMotor::MyDeviceConfig > &dev_cfg, ifw::fcf::devmgr::motor::MotorControllerData &data, int repetitions) |
| testMotor::TEST_F (TestMotor, Ctor) | |
| Test Motor constructor. | |
| testMotor::TEST_F (TestMotor, Connect) | |
| Test the connection to the LCS. | |
| testMotor::TEST_F (TestMotor, Init) | |
| Test the Initialisation of the device. | |
| testMotor::TEST_F (TestMotor, Ignore) | |
| Test the device ignore functionality. | |
| testMotor::TEST_F (TestMotor, Simulate) | |
| Test the device simulation functionality. | |
| testMotor::TEST_F (TestMotor, Setup) | |
| Test Motor Setup method. | |
| testMotor::TEST_F (TestMotor, Status) | |
| Test the device Status method. | |
| testMotor::TEST_F (TestMotor, EndAcq) | |
| Test the end of an acquisition. | |
| testMotor::TEST_F (TestMotor, Local) | |
| Test the device local signal. | |
| testMotor::TEST_F (TestMotor, ErrorConditions) | |
| Test the device local signal. | |
Variables | |
| std::string const | testMotor::CONFIG_CFG = std::string("config/config.yaml") |
| std::string const | testMotor::MOTOR_CFG = std::string("config/testMotor.yaml") |
| std::string const | testMotor::MOTOR_MAP_CFG = std::string("config/testMapMotor.yaml") |
Unit tests for the Motor class.