ifw
0.0.1-dev
|
Unit tests for TestDeviceLcsIf class. More...
#include <fcf/common/dispatcher.hpp>
#include <devmgr/common/actionMgr.hpp>
#include <devmgr/common/config.hpp>
#include <devmgr/common/dataContext.hpp>
#include <devmgr/common/deviceFacade.hpp>
#include <devmgr/common/device.hpp>
#include <devmgr/common/deviceConfig.hpp>
#include <devmgr/common/deviceLcsIf.hpp>
#include "devmgr/devices/{{cookiecutter.device_name|lower}}Config.hpp"
#include "devmgr/devices/{{cookiecutter.device_name|lower}}LcsIf.hpp"
#include <rad/DbAdapterRedis.hpp>
#include <rad/Dispatcher.hpp>
#include <rad/MsgReplier.hpp>
#include <rad/SMAdapter.hpp>
#include <boost/asio.hpp>
#include <gtest/gtest.h>
#include <google/protobuf/stubs/common.h>
#include "mock/mockIComm.hpp"
#include "mock/mockIConfig.hpp"
#include "mock/mockDbAdapter.hpp"
Classes | |
class | Test |
Namespaces | |
test | |
Functions | |
class Test | TearDown () |
void | expect_helper (MockDbAdapter &mock, MockIConfig &config) |
void | expect_helper_no (MockDbAdapter &mock) |
TEST_F (Test{{cookiecutter.device_name|capitalize()}}LcsIf, Ctor) | |
void | expect_read_helper (std::shared_ptr< MockIComm > comm_if, std::shared_ptr< test{{cookiecutter.device_name|capitalize()}}LcsIf::Test{{cookiecutter.device_name|capitalize()}}Config > &dev_cfg, short state, short substate) |
TEST_F (Test{{cookiecutter.device_name|capitalize()}}LcsIf, Config) | |
TEST_F (Test{{cookiecutter.device_name|capitalize()}}LcsIf, Connect) | |
TEST_F (Test{{cookiecutter.device_name|capitalize()}}LcsIf, IsReady) | |
TEST_F (Test{{cookiecutter.device_name|capitalize()}}LcsIf, IsOperational) | |
TEST_F (Test{{cookiecutter.device_name|capitalize()}}LcsIf, IsHwFailure) | |
TEST_F (Test{{cookiecutter.device_name|capitalize()}}LcsIf, ReadStatus) | |
Variables | |
LcsIf | |
std::string const | CONFIG_CFG |
std::string | const |
Unit tests for TestDeviceLcsIf class.
void expect_helper | ( | MockDbAdapter & | mock, |
MockIConfig & | config | ||
) |
void expect_helper_no | ( | MockDbAdapter & | mock | ) |
void expect_read_helper | ( | std::shared_ptr< MockIComm > | comm_if, |
std::shared_ptr< test{{cookiecutter.device_name|capitalize()}}LcsIf::Test{{cookiecutter.device_name|capitalize()}}Config > & | dev_cfg, | ||
short | state, | ||
short | substate | ||
) |
class Test TearDown | ( | ) |
TEST_F | ( | Test{{cookiecutter.device_name|capitalize()}} | LcsIf, |
Ctor | |||
) |
TEST_F | ( | Test{{cookiecutter.device_name|capitalize()}} | LcsIf, |
Config | |||
) |
TEST_F | ( | Test{{cookiecutter.device_name|capitalize()}} | LcsIf, |
Connect | |||
) |
TEST_F | ( | Test{{cookiecutter.device_name|capitalize()}} | LcsIf, |
IsReady | |||
) |
TEST_F | ( | Test{{cookiecutter.device_name|capitalize()}} | LcsIf, |
IsOperational | |||
) |
TEST_F | ( | Test{{cookiecutter.device_name|capitalize()}} | LcsIf, |
IsHwFailure | |||
) |
TEST_F | ( | Test{{cookiecutter.device_name|capitalize()}} | LcsIf, |
ReadStatus | |||
) |
std::string const CONFIG_CFG |
std::string const |
LcsIf |