ifw-fcf
2.0.0
|
Unit tests for SensorConfig 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/sensorConfig.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 | testSensorConfig::MyDeviceConfig |
Test SensorConfig class used for testing purposes. More... | |
class | testSensorConfig::TestSensorConfig |
Namespaces | |
testSensorConfig | |
Functions | |
void | testSensorConfig::ExpectHelper (MockDbAdapter &mock) |
ExpectHelper. More... | |
testSensorConfig::TEST_F (TestSensorConfig, Ctor) | |
testSensorConfig::TEST_F (TestSensorConfig, ReadConfig) | |
testSensorConfig::TEST_F (TestSensorConfig, GetIdentifier) | |
testSensorConfig::TEST_F (TestSensorConfig, GetPrefix) | |
testSensorConfig::TEST_F (TestSensorConfig, GetAddress) | |
testSensorConfig::TEST_F (TestSensorConfig, GetType) | |
testSensorConfig::TEST_F (TestSensorConfig, GetNamespace) | |
testSensorConfig::TEST_F (TestSensorConfig, GetNodeId) | |
testSensorConfig::TEST_F (TestSensorConfig, GetProcId) | |
testSensorConfig::TEST_F (TestSensorConfig, GetObjId) | |
testSensorConfig::TEST_F (TestSensorConfig, GetChannels) | |
Variables | |
std::string const | testSensorConfig::CONFIG_CFG = std::string(WAF_MODULE_PATH) + "/test/res/config.yml" |
std::string const | testSensorConfig::SENSOR1_CFG = std::string(WAF_MODULE_PATH) + "/test/res/sensor1.yml" |
std::string const | testSensorConfig::WRONG_CFG = std::string(WAF_MODULE_PATH) + "/test/res/wrong.yml" |
Unit tests for SensorConfig class.