ifw-fcf
2.0.0
|
Unit tests for the Sensor 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/deviceMaker.hpp"
#include "fcf/devmgr/common/device.hpp"
#include "fcf/devmgr/common/deviceConfig.hpp"
#include "fcf/devmgr/common/configSet.hpp"
#include <fcf/devmgr/common/deviceLcsIf.hpp>
#include "fcf/devmgr/devices/sensor.hpp"
#include "ctd/system/system.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"
#include "mock/mockIDeviceConfig.hpp"
Classes | |
class | testSensor::MyDeviceConfig |
Test SensorConfig class used for testing purposes. More... | |
class | testSensor::MySensor |
Test sensor class used for testing purposes. More... | |
class | testSensor::TestSensor |
Namespaces | |
testSensor | |
Functions | |
void | testSensor::ExpectHelper (MockDbAdapter &mock, MockIConfig &config) |
ExpectHelper. More... | |
void | testSensor::ExpectHelperNo (MockDbAdapter &mock) |
testSensor::TEST_F (TestSensor, Ctor) | |
Test Sensor constructor. More... | |
testSensor::TEST_F (TestSensor, Ignore) | |
Test the device ignore functionality. More... | |
testSensor::TEST_F (TestSensor, Simulate) | |
Test the device simulation functionality. More... | |
testSensor::TEST_F (TestSensor, Status) | |
Test the device Status method. More... | |
testSensor::TEST_F (TestSensor, EndAcq) | |
Test the end of an acquisition. More... | |
Variables | |
std::string const | testSensor::CONFIG_CFG = std::string(WAF_MODULE_PATH) + "/test/res/config.yml" |
std::string const | testSensor::SENSOR_CFG = std::string(WAF_MODULE_PATH) + "/test/res/testSensor.yml" |
std::string const | testSensor::SENSOR_MAP_CFG = std::string(WAF_MODULE_PATH) + "/test/res/testMapSensor.yml" |
Unit tests for the Sensor class.