|
ifw-fcf
2.0.0
|
Unit tests for the Device 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/actuator.hpp"#include <rad/dbAdapterRedis.hpp>#include <rad/msgReplier.hpp>#include <rad/smAdapter.hpp>#include <Fcfif.hpp>#include "ctd/system/system.hpp"#include <mal/Cii.hpp>#include <mal/Mal.hpp>#include <mal/utility/LoadMal.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 | testActuator::MyDeviceConfig |
| Dummy Test ActuatorConfig class used for testing purposes. More... | |
| class | testActuator::MyActuator |
| Dummy Test actuator class used for testing purposes. More... | |
| class | testActuator::TestActuator |
Namespaces | |
| testActuator | |
Functions | |
| void | testActuator::ExpectHelperNo (MockDbAdapter &mock) |
| ExpectHelperNo. More... | |
| void | testActuator::ExpectRead (std::shared_ptr< MockIComm > comm_if, std::shared_ptr< testActuator::MyDeviceConfig > &dev_cfg, fcf::devmgr::actuator::ActuatorControllerData &data, int repetitions) |
| testActuator::TEST_F (TestActuator, Ctor) | |
| Test the Actuator device class constructor. More... | |
| testActuator::TEST_F (TestActuator, Connect) | |
| Test the connection to the LCS. More... | |
| testActuator::TEST_F (TestActuator, Init) | |
| Test the Initialisation of the device. More... | |
| testActuator::TEST_F (TestActuator, Ignore) | |
| Test the device ignore functionality. More... | |
| testActuator::TEST_F (TestActuator, Simulate) | |
| Test the device simulation functionality. More... | |
| testActuator::TEST_F (TestActuator, Setup) | |
| Test Actuator Setup method. More... | |
| testActuator::TEST_F (TestActuator, Status) | |
| Test the device Status method. More... | |
| testActuator::TEST_F (TestActuator, EndAcq) | |
| Test the end of an acquisition. More... | |
| testActuator::TEST_F (TestActuator, Local) | |
| Test the device local signal. More... | |
| int | main (int argc, char **argv) |
Variables | |
| std::string const | testActuator::CONFIG_CFG = std::string(WAF_MODULE_PATH) + "/test/res/config.yml" |
| std::string const | testActuator::ACTUATOR_CFG = std::string(WAF_MODULE_PATH) + "/test/res/actuator1.yml" |
| std::string const | testActuator::ACTUATOR_MAP_CFG = std::string(WAF_MODULE_PATH) + "/test/res/testMapActuator.yml" |
Unit tests for the Device class.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
1.8.5