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

Unit tests for PiezoLcsIf 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/piezoConfig.hpp"
#include "fcf/devmgr/devices/piezoLcsIf.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  testPiezoLcsIf::TestPiezoConfig
 The TestPiezoConfig class. More...
 
class  testPiezoLcsIf::TestPiezoLcsIf
 

Namespaces

 testPiezoLcsIf
 

Functions

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

Variables

std::string const testPiezoLcsIf::CONFIG_CFG
 
std::string const testPiezoLcsIf::PIEZO_CFG
 
std::string const testPiezoLcsIf::PIEZO_MAP_CFG
 
std::string const testPiezoLcsIf::PIEZO_BAD1_CFG
 
std::string const testPiezoLcsIf::PIEZO_BAD2_CFG
 
std::string const testPiezoLcsIf::PIEZO_BAD3_CFG
 
std::string const testPiezoLcsIf::PIEZO_BADMAP1_CFG
 
std::string const testPiezoLcsIf::PIEZO_BADMAP2_CFG
 
std::string const testPiezoLcsIf::PIEZO_BADMAP3_CFG
 

Detailed Description

Unit tests for PiezoLcsIf class.

Author
mkiekebu