ifw
0.0.1-dev
|
Unit tests for the Sensor 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/deviceMaker.hpp"
#include "devmgr/common/device.hpp"
#include "devmgr/common/deviceConfig.hpp"
#include "devmgr/common/configSet.hpp"
#include <devmgr/common/deviceLcsIf.hpp>
#include "devmgr/devices/sensor.hpp"
#include "ctd/system/system.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"
#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::expect_helper (MockDbAdapter &mock, MockIConfig &config) |
expect_helper More... | |
void | testSensor::expect_helper_no (MockDbAdapter &mock) |
testSensor::TEST_F (TestSensor, Ctor) | |
Test Sensor constructor. More... | |
testSensor::TEST_F (TestSensor, Ignore) | |
testSensor::TEST_F (TestSensor, Simulate) | |
testSensor::TEST_F (TestSensor, Status) | |
testSensor::TEST_F (TestSensor, EndAcq) | |
int | main (int argc, char **argv) |
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.
int main | ( | int | argc, |
char ** | argv | ||
) |