#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/device.hpp>#include <ifw/fcf/devmgr/common/deviceLcsIf.hpp>#include <ifw/fcf/devmgr/devices/iodevConfig.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 | testIODevConfig::MyDeviceConfig |
| Test IODevConfig class used for testing purposes. More... | |
| class | testIODevConfig::TestIODevConfig |
Namespaces | |
| namespace | testIODevConfig |
Functions | |
| testIODevConfig::TEST_F (TestIODevConfig, Ctor) | |
| testIODevConfig::TEST_F (TestIODevConfig, ReadConfig) | |
| testIODevConfig::TEST_F (TestIODevConfig, GetIdentifier) | |
| testIODevConfig::TEST_F (TestIODevConfig, GetPrefix) | |
| testIODevConfig::TEST_F (TestIODevConfig, GetAddress) | |
| testIODevConfig::TEST_F (TestIODevConfig, GetType) | |
| testIODevConfig::TEST_F (TestIODevConfig, GetNamespace) | |
| testIODevConfig::TEST_F (TestIODevConfig, GetNodeId) | |
| testIODevConfig::TEST_F (TestIODevConfig, GetProcId) | |
| testIODevConfig::TEST_F (TestIODevConfig, GetObjId) | |
| testIODevConfig::TEST_F (TestIODevConfig, GetChannels) | |
| 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 | testIODevConfig::CONFIG_CFG = std::string("config/config.yaml") |
| std::string const | testIODevConfig::SENSOR1_CFG = std::string("config/testSensor.yaml") |
| std::string const | testIODevConfig::WRONG_CFG = std::string("config/wrong.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).