ifw-fcf
2.0.0
|
Unit tests for AdcConfig class. More...
#include <fcf/common/dispatcher.hpp>
#include <fcf/devmgr/common/actionMgr.hpp>
#include <fcf/devmgr/common/config.hpp>
#include <fcf/devmgr/common/dataContext.hpp>
#include <fcf/devmgr/common/deviceFacade.hpp>
#include <fcf/devmgr/common/device.hpp>
#include <fcf/devmgr/common/deviceLcsIf.hpp>
#include <fcf/devmgr/devices/adcConfig.hpp>
#include <rad/dbAdapterRedis.hpp>
#include <rad/msgReplier.hpp>
#include <rad/smAdapter.hpp>
#include <boost/asio.hpp>
#include <gtest/gtest.h>
#include "mock/mockIComm.hpp"
#include "mock/mockDbAdapter.hpp"
#include "mock/mockIConfig.hpp"
Classes | |
class | testAdcConfig::MyDeviceConfig |
Test AdcConfig class used for testing purposes. More... | |
class | testAdcConfig::TestAdcConfig |
Namespaces | |
testAdcConfig | |
Functions | |
void | testAdcConfig::ExpectHelper (MockDbAdapter &mock) |
ExpectHelper. More... | |
testAdcConfig::TEST_F (TestAdcConfig, Ctor) | |
testAdcConfig::TEST_F (TestAdcConfig, ReadConfig) | |
testAdcConfig::TEST_F (TestAdcConfig, GetIdentifier) | |
testAdcConfig::TEST_F (TestAdcConfig, GetPrefix) | |
testAdcConfig::TEST_F (TestAdcConfig, GetAddress) | |
testAdcConfig::TEST_F (TestAdcConfig, GetType) | |
testAdcConfig::TEST_F (TestAdcConfig, GetNamespace) | |
testAdcConfig::TEST_F (TestAdcConfig, GetNodeId) | |
testAdcConfig::TEST_F (TestAdcConfig, GetProcId) | |
testAdcConfig::TEST_F (TestAdcConfig, GetObjId) | |
Variables | |
std::string const | testAdcConfig::CONFIG_CFG = std::string(WAF_MODULE_PATH) + "/test/res/config.yml" |
std::string const | testAdcConfig::ADC1_CFG = std::string(WAF_MODULE_PATH) + "/test/res/adc1.yml" |
std::string const | testAdcConfig::WRONG_CFG = std::string(WAF_MODULE_PATH) + "/test/res/wrong.yml" |
Unit tests for AdcConfig class.