#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/lampConfig.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 | testLampConfig::MyDeviceConfig |
| Test LampConfig class used for testing purposes. More... | |
| class | testLampConfig::TestLampConfig |
Namespaces | |
| namespace | testLampConfig |
Functions | |
| testLampConfig::TEST_F (TestLampConfig, Ctor) | |
| testLampConfig::TEST_F (TestLampConfig, ReadConfig) | |
| testLampConfig::TEST_F (TestLampConfig, GetIdentifier) | |
| testLampConfig::TEST_F (TestLampConfig, GetPrefix) | |
| testLampConfig::TEST_F (TestLampConfig, GetAddress) | |
| testLampConfig::TEST_F (TestLampConfig, GetType) | |
| testLampConfig::TEST_F (TestLampConfig, GetNamespace) | |
| testLampConfig::TEST_F (TestLampConfig, GetNodeId) | |
| testLampConfig::TEST_F (TestLampConfig, GetProcId) | |
| testLampConfig::TEST_F (TestLampConfig, GetObjId) | |
| 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 | testLampConfig::CONFIG_CFG = std::string("config/config.yaml") |
| std::string const | testLampConfig::LAMP1_CFG = std::string("config/testLamp.yaml") |
| std::string const | testLampConfig::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).