Unit tests for TestDeviceLcsIf class. Ported to ifw::fnd::defs::ICommAdapter (post-ualib port). More...
#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/deviceConfig.hpp>#include <ifw/fcf/devmgr/common/deviceLcsIf.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/mockIDevice.hpp"#include "mock/mockHelpers.hpp"Classes | |
| class | testDeviceLcsIf::MyDeviceConfig |
| class | testDeviceLcsIf::MyDeviceLcsIf |
| class | TestDeviceLcsIf |
Namespaces | |
| namespace | testDeviceLcsIf |
Functions | |
| TEST_F (TestDeviceLcsIf, Ctor) | |
| TEST_F (TestDeviceLcsIf, Config) | |
| TEST_F (TestDeviceLcsIf, Connect) | |
| TEST_F (TestDeviceLcsIf, Disconnect) | |
| TEST_F (TestDeviceLcsIf, Init) | |
| TEST_F (TestDeviceLcsIf, Enable) | |
| TEST_F (TestDeviceLcsIf, Disable) | |
| TEST_F (TestDeviceLcsIf, Stop) | |
| TEST_F (TestDeviceLcsIf, Reset) | |
| TEST_F (TestDeviceLcsIf, SkipsBadStatusNotification) | |
| TEST_F (TestDeviceLcsIf, IsNotReady) | |
| TEST_F (TestDeviceLcsIf, IsDisabling) | |
| ifw::fnd::defs::Result | MakeOk () |
| Build a generic "Ok" Result. | |
| 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). | |
Unit tests for TestDeviceLcsIf class. Ported to ifw::fnd::defs::ICommAdapter (post-ualib port).
|
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).
| TEST_F | ( | TestDeviceLcsIf | , |
| Config | ) |
| TEST_F | ( | TestDeviceLcsIf | , |
| Connect | ) |
| TEST_F | ( | TestDeviceLcsIf | , |
| Ctor | ) |
| TEST_F | ( | TestDeviceLcsIf | , |
| Disable | ) |
| TEST_F | ( | TestDeviceLcsIf | , |
| Disconnect | ) |
| TEST_F | ( | TestDeviceLcsIf | , |
| Enable | ) |
| TEST_F | ( | TestDeviceLcsIf | , |
| Init | ) |
| TEST_F | ( | TestDeviceLcsIf | , |
| IsDisabling | ) |
| TEST_F | ( | TestDeviceLcsIf | , |
| IsNotReady | ) |
| TEST_F | ( | TestDeviceLcsIf | , |
| Reset | ) |
| TEST_F | ( | TestDeviceLcsIf | , |
| SkipsBadStatusNotification | ) |
| TEST_F | ( | TestDeviceLcsIf | , |
| Stop | ) |