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

Unit tests for ActuatorLcsIf 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/device.hpp>
#include <fcf/devmgr/common/deviceConfig.hpp>
#include <fcf/devmgr/common/deviceLcsIf.hpp>
#include "fcf/devmgr/devices/actuatorConfig.hpp"
#include "fcf/devmgr/devices/actuatorLcsIf.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/mockIConfig.hpp"
#include "mock/mockDbAdapter.hpp"

Classes

class  testActuatorLcsIf::TestActuatorConfig
 The TestActuatorConfig class. More...
 
class  testActuatorLcsIf::TestActuatorLcsIf
 

Namespaces

 testActuatorLcsIf
 

Functions

void testActuatorLcsIf::ExpectHelper (MockDbAdapter &mock, MockIConfig &config)
 
void testActuatorLcsIf::ExpectHelperNo (MockDbAdapter &mock)
 
 testActuatorLcsIf::TEST_F (TestActuatorLcsIf, Ctor)
 
void testActuatorLcsIf::ExpectReadHelper (std::shared_ptr< MockIComm > comm_if, std::shared_ptr< testActuatorLcsIf::TestActuatorConfig > &dev_cfg, int state, int substate)
 
 testActuatorLcsIf::TEST_F (TestActuatorLcsIf, Config)
 
 testActuatorLcsIf::TEST_F (TestActuatorLcsIf, Connect)
 
 testActuatorLcsIf::TEST_F (TestActuatorLcsIf, IsReady)
 
 testActuatorLcsIf::TEST_F (TestActuatorLcsIf, IsOperational)
 
 testActuatorLcsIf::TEST_F (TestActuatorLcsIf, IsHwFailure)
 
 testActuatorLcsIf::TEST_F (TestActuatorLcsIf, ReadStatus)
 

Variables

std::string const testActuatorLcsIf::CONFIG_CFG
 
std::string const testActuatorLcsIf::ACTUATOR_CFG
 
std::string const testActuatorLcsIf::ACTUATOR_MAP_CFG
 

Detailed Description

Unit tests for ActuatorLcsIf class.

Author
mkiekebu