ifw-fcf
2.0.0
|
Unit tests for MotorLcsIf 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/device.hpp>
#include <fcf/devmgr/common/deviceConfig.hpp>
#include <fcf/devmgr/common/deviceLcsIf.hpp>
#include "fcf/devmgr/devices/motorConfig.hpp"
#include "fcf/devmgr/devices/motorLcsIf.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/mockIConfig.hpp"
#include "mock/mockDbAdapter.hpp"
Classes | |
class | testMotorLcsIf::TestMotorConfig |
The TestMotorConfig class. More... | |
class | testMotorLcsIf::TestMotorLcsIf |
Namespaces | |
testMotorLcsIf | |
Functions | |
void | testMotorLcsIf::ExpectHelper (MockDbAdapter &mock, MockIConfig &config) |
void | testMotorLcsIf::ExpectHelperNo (MockDbAdapter &mock) |
testMotorLcsIf::TEST_F (TestMotorLcsIf, Ctor) | |
void | testMotorLcsIf::ExpectReadHelper (std::shared_ptr< MockIComm > comm_if, std::shared_ptr< testMotorLcsIf::TestMotorConfig > &dev_cfg, int state, int substate) |
testMotorLcsIf::TEST_F (TestMotorLcsIf, Config) | |
testMotorLcsIf::TEST_F (TestMotorLcsIf, Connect) | |
testMotorLcsIf::TEST_F (TestMotorLcsIf, MoveAbs) | |
testMotorLcsIf::TEST_F (TestMotorLcsIf, IsReady) | |
testMotorLcsIf::TEST_F (TestMotorLcsIf, IsOperational) | |
testMotorLcsIf::TEST_F (TestMotorLcsIf, IsMoving) | |
testMotorLcsIf::TEST_F (TestMotorLcsIf, IsHwFailure) | |
testMotorLcsIf::TEST_F (TestMotorLcsIf, ReadStatus) | |
testMotorLcsIf::TEST_F (TestMotorLcsIf, Listener) | |
Variables | |
std::string const | testMotorLcsIf::CONFIG_CFG |
std::string const | testMotorLcsIf::MOTOR_CFG |
std::string const | testMotorLcsIf::MOTOR_MAP_CFG |
std::string const | testMotorLcsIf::MOTOR_BAD1_CFG |
std::string const | testMotorLcsIf::MOTOR_BAD2_CFG |
std::string const | testMotorLcsIf::MOTOR_BAD3_CFG |
std::string const | testMotorLcsIf::MOTOR_BADMAP1_CFG |
std::string const | testMotorLcsIf::MOTOR_BADMAP2_CFG |
std::string const | testMotorLcsIf::MOTOR_BADMAP3_CFG |
Unit tests for MotorLcsIf class.