ifw-fcf  2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Functions | Variables
testDeviceFacade.cpp File Reference

Unit tests for the DeviceFacade class. More...

#include <iostream>
#include <chrono>
#include <thread>
#include <functional>
#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/iDevice.hpp>
#include <fcf/devmgr/common/iDeviceConfig.hpp>
#include <fcf/devmgr/common/taskSetup.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/mockIDevice.hpp"

Classes

class  testDeviceFacade::MyTaskSetup
 
class  testDeviceFacade::MyDeviceConfig
 
class  testDeviceFacade::MyDeviceLcsIf
 
class  testDeviceFacade::TestMyDevice
 
class  testDeviceFacade::TestFailureDevice
 
class  testDeviceFacade::TestDeviceFacade
 

Namespaces

 testDeviceFacade
 

Functions

 testDeviceFacade::TEST_F (TestDeviceFacade, Ctor)
 
 testDeviceFacade::TEST_F (TestDeviceFacade, Devices)
 
 testDeviceFacade::TEST_F (TestDeviceFacade, Init)
 
 testDeviceFacade::TEST_F (TestDeviceFacade, Stop)
 
 testDeviceFacade::TEST_F (TestDeviceFacade, Enable)
 
 testDeviceFacade::TEST_F (TestDeviceFacade, Disable)
 
 testDeviceFacade::TEST_F (TestDeviceFacade, Recover)
 
 testDeviceFacade::TEST_F (TestDeviceFacade, DevNames)
 
 testDeviceFacade::TEST_F (TestDeviceFacade, Status)
 

Variables

std::string const testDeviceFacade::CONFIG_CFG = std::string(WAF_MODULE_PATH) + "/test/res/config.yml"
 
std::string const testDeviceFacade::SHUTTER1_CFG = std::string(WAF_MODULE_PATH) + "/test/res/shutter1.yml"
 
std::string const testDeviceFacade::MOTOR1_CFG = std::string(WAF_MODULE_PATH) + "/test/res/motor1.yml"
 

Detailed Description

Unit tests for the DeviceFacade class.

Author
mkiekebu