ifw
0.0.1-dev
|
Unit tests for the Motor class. More...
#include <fcf/common/dispatcher.hpp>
#include <devmgr/common/actionMgr.hpp>
#include <devmgr/common/config.hpp>
#include <devmgr/common/dataContext.hpp>
#include <devmgr/common/deviceFacade.hpp>
#include "devmgr/common/deviceMaker.hpp"
#include "devmgr/common/device.hpp"
#include "devmgr/common/deviceConfig.hpp"
#include "devmgr/common/configSet.hpp"
#include <devmgr/common/deviceLcsIf.hpp>
#include "devmgr/devices/motor.hpp"
#include <rad/DbAdapterRedis.hpp>
#include <rad/Dispatcher.hpp>
#include <rad/MsgReplier.hpp>
#include <rad/SMAdapter.hpp>
#include <boost/asio.hpp>
#include <gtest/gtest.h>
#include <google/protobuf/stubs/common.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::expect_helper (MockDbAdapter &mock, MockIConfig &config) |
expect_helper More... | |
void | testMotor::expect_helper_no (MockDbAdapter &mock) |
void | testMotor::expect_read (std::shared_ptr< MockIComm > comm_if, std::shared_ptr< testMotor::MyDeviceConfig > &dev_cfg, devmgr::motor::MotorControllerData &data, int repetitions) |
testMotor::TEST_F (TestMotor, Ctor) | |
Test Motor constructor. More... | |
testMotor::TEST_F (TestMotor, Connect) | |
testMotor::TEST_F (TestMotor, Init) | |
testMotor::TEST_F (TestMotor, Ignore) | |
testMotor::TEST_F (TestMotor, Simulate) | |
testMotor::TEST_F (TestMotor, Setup) | |
Test Motor Setup method. More... | |
testMotor::TEST_F (TestMotor, Status) | |
testMotor::TEST_F (TestMotor, EndAcq) | |
testMotor::TEST_F (TestMotor, Local) | |
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.