#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/device.hpp>#include <ifw/fcf/devmgr/common/deviceConfig.hpp>#include <ifw/fcf/devmgr/common/deviceLcsIf.hpp>#include "ifw/fcf/devmgr/devices/actuatorConfig.hpp"#include "ifw/fcf/devmgr/devices/actuatorLcsIf.hpp"#include <boost/asio.hpp>#include <gtest/gtest.h>#include "mock/mockICommAdapter.hpp"#include "mock/mockHelpers.hpp"Classes | |
| class | testActuatorLcsIf::TestActuatorConfig |
| The TestActuatorConfig class. More... | |
| class | testActuatorLcsIf::TestActuatorLcsIf |
Namespaces | |
| namespace | testActuatorLcsIf |
Functions | |
| void | testActuatorLcsIf::ApplyState (ifw::fcf::devmgr::actuator::ActuatorLcsIf &, std::shared_ptr< testActuatorLcsIf::TestActuatorConfig > &, int, int) |
| void | testActuatorLcsIf::ExpectRead (std::shared_ptr< MockICommAdapter > comm_if, std::shared_ptr< testActuatorLcsIf::TestActuatorConfig > &, int, int) |
| void | testActuatorLcsIf::FeedStat (ifw::fnd::defs::SubscriptionHandler &handler, std::shared_ptr< testActuatorLcsIf::TestActuatorConfig > &dev_cfg, const std::string &stat_node, int value) |
| testActuatorLcsIf::TEST_F (TestActuatorLcsIf, Ctor) | |
| testActuatorLcsIf::TEST_F (TestActuatorLcsIf, Connect) | |
| testActuatorLcsIf::TEST_F (TestActuatorLcsIf, SwitchOn) | |
| testActuatorLcsIf::TEST_F (TestActuatorLcsIf, SwitchOff) | |
| testActuatorLcsIf::TEST_F (TestActuatorLcsIf, StateQueries) | |
| testActuatorLcsIf::TEST_F (TestActuatorLcsIf, ReadStatus) | |
| 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 | testActuatorLcsIf::CONFIG_CFG = std::string("config/config.yaml") |
| std::string const | testActuatorLcsIf::ACTUATOR_CFG = std::string("config/testActuator.yaml") |
| std::string const | testActuatorLcsIf::ACTUATOR_MAP_CFG = std::string("config/testMapActuator.yaml") |
| const short | testActuatorLcsIf::STATE_NOT_OPERATIONAL = ifw::fcf::devmgr::common::STATE_NOT_OPERATIONAL |
| const short | testActuatorLcsIf::STATE_OPERATIONAL = ifw::fcf::devmgr::common::STATE_OPERATIONAL |
| const short | testActuatorLcsIf::SUBSTATE_READY_OFF = ifw::fcf::devmgr::actuator::SUBSTATE_READY_OFF |
| const short | testActuatorLcsIf::SUBSTATE_READY_ON = ifw::fcf::devmgr::actuator::SUBSTATE_READY_ON |
| const short | testActuatorLcsIf::SUBSTATE_OP_OFF = ifw::fcf::devmgr::actuator::SUBSTATE_OP_OFF |
| const short | testActuatorLcsIf::SUBSTATE_OP_ON = ifw::fcf::devmgr::actuator::SUBSTATE_OP_ON |
| const short | testActuatorLcsIf::SUBSTATE_OP_SWITCHING_OFF = ifw::fcf::devmgr::actuator::SUBSTATE_OP_SWITCHING_OFF |
| const short | testActuatorLcsIf::SUBSTATE_OP_SWITCHING_ON = ifw::fcf::devmgr::actuator::SUBSTATE_OP_SWITCHING_ON |
|
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).