#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/maxis.hpp"#include <rad/dbAdapterRedis.hpp>#include <rad/msgReplier.hpp>#include <rad/smAdapter.hpp>#include <boost/asio.hpp>#include <gtest/gtest.h>#include "mock/mockICommAdapter.hpp"#include "mock/mockHelpers.hpp"Classes | |
| class | testMAxis::MyDeviceConfig |
| Test MAxis Config class used for testing purposes. More... | |
| class | testMAxis::MyMAxis |
| Test MAxis class used for testing purposes. More... | |
| class | testMAxis::TestMAxis |
Namespaces | |
| namespace | testMAxis |
Functions | |
| void | testMAxis::ExpectRead (std::shared_ptr< MockICommAdapter > comm_if, std::shared_ptr< MyDeviceConfig > &dev_cfg, ifw::fcf::devmgr::maxis::MAxisControllerData &, int) |
| testMAxis::TEST_F (TestMAxis, Ctor) | |
| Test MAxis constructor. | |
| testMAxis::TEST_F (TestMAxis, Setup) | |
| Test the MAxis Setup method. | |
| ifw::fnd::defs::CallResult | MakeRpcReply (short code, ifw::fnd::defs::Status batch_status=ifw::fnd::defs::Status::Ok) |
| Build a CallResult that carries a single short reply code, matching the convention every FCF RPC uses (RPC reply in output_arguments[0].data.value as short). | |
| ifw::fnd::defs::Result | MakeOk () |
| Build a generic "Ok" Result. | |
Variables | |
| std::string const | testMAxis::CONFIG_CFG = std::string("config/config.yaml") |
| std::string const | testMAxis::MAXIS_CFG = std::string("config/testMAxis.yaml") |
|
inline |
Build a generic "Ok" Result.
|
inline |
Build a CallResult that carries a single short reply code, matching the convention every FCF RPC uses (RPC reply in output_arguments[0].data.value as short).