ifw-fcf 7.1.4
Loading...
Searching...
No Matches
Classes | Namespaces | Functions | Variables
testDrot.cpp File Reference

Unit tests for the Motor class. More...

#include <ifw/fcf/devmgr/common/actionMgr.hpp>
#include <ifw/fcf/devmgr/common/config.hpp>
#include <ifw/fcf/devmgr/common/dataContext.hpp>
#include <ifw/fcf/devmgr/common/deviceFacade.hpp>
#include "ifw/fcf/devmgr/common/deviceMaker.hpp"
#include "ifw/fcf/devmgr/common/device.hpp"
#include "ifw/fcf/devmgr/common/deviceConfig.hpp"
#include <ifw/fcf/devmgr/common/deviceLcsIf.hpp>
#include "ifw/fcf/devmgr/devices/drot.hpp"
#include <ifw/core/utils/base/base.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"

Classes

class  testDrot::MyDeviceConfig
 Test DrotConfig class used for testing purposes. More...
 
class  testDrot::MyDrot
 Test drot class used for testing purposes. More...
 
class  testDrot::TestDrot
 

Namespaces

namespace  testDrot
 

Functions

void testDrot::ExpectRead (std::shared_ptr< MockIComm > comm_if, std::shared_ptr< testDrot::MyDeviceConfig > &dev_cfg, ifw::fcf::devmgr::drot::DrotControllerData &data, int repetitions)
 
 testDrot::TEST_F (TestDrot, Ctor)
 Test Drot constructor.
 
 testDrot::TEST_F (TestDrot, Connect)
 Test the connection to the LCS.
 
 testDrot::TEST_F (TestDrot, Init)
 Test the Initialisation of the device.
 
 testDrot::TEST_F (TestDrot, Ignore)
 Test the device ignore functionality.
 
 testDrot::TEST_F (TestDrot, Simulate)
 Test the device simulation functionality.
 
 testDrot::TEST_F (TestDrot, Setup)
 Test Shutter Setup method.
 
 testDrot::TEST_F (TestDrot, Status)
 Test the device Status method.
 
 testDrot::TEST_F (TestDrot, EndAcq)
 Test the end of an acquisition.
 
 testDrot::TEST_F (TestDrot, Local)
 Test the device local signal.
 

Variables

std::string const testDrot::CONFIG_CFG = std::string("config/config.yaml")
 
std::string const testDrot::DROT_CFG = std::string("config/testDrot.yaml")
 
std::string const testDrot::DROT_MAP_CFG = std::string("config/testMapDrot.yaml")
 

Detailed Description

Unit tests for the Motor class.

Author
mkiekebu