ifw-fcf 8.0.2
 
Loading...
Searching...
No Matches
mockIDeviceConfig.hpp
Go to the documentation of this file.
1
10
11#ifndef IFW_FCF_DEVMGR_DEVICES_MOCK_IDEVICE_CONFIG_HPP_
12#define IFW_FCF_DEVMGR_DEVICES_MOCK_IDEVICE_CONFIG_HPP_
13
14#include <gmock/gmock.h>
16
18 public:
20 ((std::vector<std::pair<std::string,
21 ifw::fnd::defs::Value>>& params)),
22 (const, override));
23 MOCK_METHOD(std::string, GetIdentifier, (), (const, override));
24 MOCK_METHOD(std::string, GetPrefix, (), (const, override));
25 MOCK_METHOD(std::string, GetAddress, (), (const, override));
26 MOCK_METHOD(std::string, GetSimAddress, (), (const, override));
27 MOCK_METHOD(std::string, GetType, (), (const, override));
28 MOCK_METHOD(int, GetNamespace, (), (const, override));
29 MOCK_METHOD(std::string, GetMapFile, (), (const, override));
30 MOCK_METHOD(std::string, GetCfgAsString, (), (const, override));
31 MOCK_METHOD(std::string, GetAlias, (), (const, override));
32 MOCK_METHOD(std::string, GetName, (), (const, override));
33 MOCK_METHOD(std::string, GetNodeId, (const std::string& attrib),
34 (const, override));
35 MOCK_METHOD(std::string, GetProcId, (const std::string& attrib),
36 (const, override));
37 MOCK_METHOD(std::string, GetObjId, (), (const, override));
38 MOCK_METHOD(void, SetSimulateFlag, (const bool flag), (override));
39 MOCK_METHOD(void, SetIgnoreFlag, (const bool flag), (override));
40 MOCK_METHOD(bool, GetIgnored, (), (const, override));
41 MOCK_METHOD(bool, GetSimulated, (), (const, override));
42};
43
44#endif // IFW_FCF_DEVMGR_DEVICES_MOCK_IDEVICE_CONFIG_HPP_
Definition mockIDeviceConfig.hpp:17
MOCK_METHOD(std::string, GetAlias,(),(const, override))
MOCK_METHOD(std::string, GetIdentifier,(),(const, override))
MOCK_METHOD(std::string, GetObjId,(),(const, override))
MOCK_METHOD(std::string, GetAddress,(),(const, override))
MOCK_METHOD(std::string, GetNodeId,(const std::string &attrib),(const, override))
MOCK_METHOD(void, GetConfig,((std::vector< std::pair< std::string, ifw::fnd::defs::Value > > &params)),(const, override))
MOCK_METHOD(std::string, GetPrefix,(),(const, override))
MOCK_METHOD(std::string, GetMapFile,(),(const, override))
MOCK_METHOD(bool, GetIgnored,(),(const, override))
MOCK_METHOD(std::string, GetSimAddress,(),(const, override))
MOCK_METHOD(int, GetNamespace,(),(const, override))
MOCK_METHOD(std::string, GetProcId,(const std::string &attrib),(const, override))
MOCK_METHOD(std::string, GetName,(),(const, override))
MOCK_METHOD(bool, GetSimulated,(),(const, override))
MOCK_METHOD(void, SetIgnoreFlag,(const bool flag),(override))
MOCK_METHOD(std::string, GetCfgAsString,(),(const, override))
MOCK_METHOD(void, SetSimulateFlag,(const bool flag),(override))
MOCK_METHOD(std::string, GetType,(),(const, override))
Device Configuration class.
Definition iDeviceConfig.hpp:29
virtual std::string GetNodeId(const std::string &attrib) const =0
Get node id.
virtual std::string GetAddress() const =0
virtual std::string GetIdentifier() const =0
virtual void SetSimulateFlag(const bool flag)=0
Set simulation flag.
virtual std::string GetType() const =0
virtual std::string GetName() const =0
virtual std::string GetCfgAsString() const =0
virtual std::string GetPrefix() const =0
virtual std::string GetMapFile() const =0
virtual std::string GetSimAddress() const =0
virtual void SetIgnoreFlag(const bool flag)=0
Set ignore flag.
virtual void GetConfig(std::vector< std::pair< std::string, ifw::fnd::defs::Value > > &params) const =0
Obtain the list of configuration parameters as (logical short-name, value) pairs.
virtual std::string GetProcId(const std::string &attrib) const =0
Get procedure id.
virtual bool GetIgnored() const =0
Get ignored flag.
virtual std::string GetObjId() const =0
Get object id.
virtual bool GetSimulated() const =0
GetSimulated.
virtual std::string GetAlias() const =0