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

Unit tests for the Device 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/shutter.hpp"
#include <rad/dbAdapterRedis.hpp>
#include <rad/msgReplier.hpp>
#include <rad/smAdapter.hpp>
#include <Fcfif.hpp>
#include <mal/Cii.hpp>
#include <mal/Mal.hpp>
#include <mal/utility/LoadMal.hpp>
#include <boost/asio.hpp>
#include <ifw/core/utils/base/base.hpp>
#include <gtest/gtest.h>
#include "mock/mockIComm.hpp"
#include "mock/mockIDeviceConfig.hpp"

Classes

class  testShutter::MyDeviceConfig
 Dummy Test ShutterConfig class used for testing purposes. More...
 
class  testShutter::MyShutter
 Dummy Test shutter class used for testing purposes. More...
 
class  testShutter::TestShutter
 

Namespaces

namespace  testShutter
 

Functions

void testShutter::ExpectRead (std::shared_ptr< MockIComm > comm_if, std::shared_ptr< testShutter::MyDeviceConfig > &dev_cfg, ifw::fcf::devmgr::shutter::ShutterControllerData &data, int repetitions)
 
 testShutter::TEST_F (TestShutter, Ctor)
 Test the Shutter device class constructor.
 
 testShutter::TEST_F (TestShutter, Connect)
 Test the connection to the LCS.
 
 testShutter::TEST_F (TestShutter, Init)
 Test the Initialisation of the device.
 
 testShutter::TEST_F (TestShutter, Ignore)
 Test the device ignore functionality.
 
 testShutter::TEST_F (TestShutter, Simulate)
 Test the device simulation functionality.
 
 testShutter::TEST_F (TestShutter, Setup)
 Test Shutter Setup method.
 
 testShutter::TEST_F (TestShutter, Status)
 Test the device Status method.
 
 testShutter::TEST_F (TestShutter, EndAcq)
 Test the end of an acquisition.
 
 testShutter::TEST_F (TestShutter, Local)
 Test the device local signal.
 
int main (int argc, char **argv)
 

Variables

std::string const testShutter::CONFIG_CFG = std::string("config/config.yaml")
 
std::string const testShutter::SHUTTER_CFG = std::string("config/testShutter.yaml")
 
std::string const testShutter::SHUTTER_MAP_CFG = std::string("config/testMapShutter.yaml")
 

Detailed Description

Unit tests for the Device class.

Author
mkiekebu

Function Documentation

◆ main()

int main ( int argc,
char ** argv )