ifw
0.0.1-dev
|
Unit tests for MotorConfig 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/deviceLcsIf.hpp>
#include <devmgr/devices/motorConfig.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/mockDbAdapter.hpp"
#include "mock/mockIConfig.hpp"
Classes | |
class | testMotorConfig::MyDeviceConfig |
Test MotorConfig class used for testing purposes. More... | |
class | testMotorConfig::TestMotorConfig |
Namespaces | |
testMotorConfig | |
Functions | |
void | testMotorConfig::expect_helper (MockDbAdapter &mock) |
expect_helper More... | |
testMotorConfig::TEST_F (TestMotorConfig, Ctor) | |
testMotorConfig::TEST_F (TestMotorConfig, ReadConfig) | |
testMotorConfig::TEST_F (TestMotorConfig, GetIdentifier) | |
testMotorConfig::TEST_F (TestMotorConfig, GetPrefix) | |
testMotorConfig::TEST_F (TestMotorConfig, GetAddress) | |
testMotorConfig::TEST_F (TestMotorConfig, GetType) | |
testMotorConfig::TEST_F (TestMotorConfig, GetNamespace) | |
testMotorConfig::TEST_F (TestMotorConfig, GetNodeId) | |
testMotorConfig::TEST_F (TestMotorConfig, GetProcId) | |
testMotorConfig::TEST_F (TestMotorConfig, GetObjId) | |
Variables | |
std::string const | testMotorConfig::CONFIG_CFG = std::string(WAF_MODULE_PATH) + "/test/res/config.yml" |
std::string const | testMotorConfig::MOTOR1_CFG = std::string(WAF_MODULE_PATH) + "/test/res/motor1.yml" |
std::string const | testMotorConfig::WRONG_CFG = std::string(WAF_MODULE_PATH) + "/test/res/wrong.yml" |
Unit tests for MotorConfig class.