10 #ifndef DAQ_DPM_MOCK_MOCKMAL_HPP
11 #define DAQ_DPM_MOCK_MOCKMAL_HPP
13 #include <mal/Mal.hpp>
14 #include <gmock/gmock.h>
17 MOCK_METHOD5(getPublisherUnsafe,
void*(
const std::string& libraryName,
18 const std::string& symbolName,
19 const elt::mal::Uri& uri,
20 const std::vector<std::shared_ptr<elt::mal::ps::qos::QoS>>& standardQoS,
21 const Properties& malSpecificProperties));
23 MOCK_METHOD5(getSubscriberUnsafe,
void*(
const std::string& libraryName,
24 const std::string& symbolName,
25 const elt::mal::Uri& uri,
26 const std::vector<std::shared_ptr<elt::mal::ps::qos::QoS>>& standardQoS,
27 const Properties& malSpecificProperties));
29 MOCK_METHOD5(getMrvSubscriberUnsafe,
void*(
const std::string& libraryName,
30 const std::string& symbolName,
31 const elt::mal::Uri& uri,
32 const std::vector<std::shared_ptr<elt::mal::ps::qos::QoS>>& standardQoS,
33 const Properties& malSpecificProperties));
35 MOCK_METHOD5(getClientUnsafe,
void* (
const std::string& libraryName,
36 const std::string& symbolName,
37 const elt::mal::Uri& uri,
38 const std::vector<std::shared_ptr<elt::mal::rr::qos::QoS>>& standardQoS,
39 const Properties& malSpecificProperties));
41 MOCK_METHOD2(getDataEntityUnsafe,
void* (
const std::string& libraryName,
42 const std::string& symbolName));
45 const elt::mal::Uri& uri,
46 const std::vector<std::shared_ptr<elt::mal::rr::qos::QoS>>& standardQoS,
47 const Properties& malSpecificProperties));
MOCK_METHOD5(getMrvSubscriberUnsafe, void *(const std::string &libraryName, const std::string &symbolName, const elt::mal::Uri &uri, const std::vector< std::shared_ptr< elt::mal::ps::qos::QoS >> &standardQoS, const Properties &malSpecificProperties))
MOCK_METHOD5(getSubscriberUnsafe, void *(const std::string &libraryName, const std::string &symbolName, const elt::mal::Uri &uri, const std::vector< std::shared_ptr< elt::mal::ps::qos::QoS >> &standardQoS, const Properties &malSpecificProperties))
MOCK_METHOD5(getPublisherUnsafe, void *(const std::string &libraryName, const std::string &symbolName, const elt::mal::Uri &uri, const std::vector< std::shared_ptr< elt::mal::ps::qos::QoS >> &standardQoS, const Properties &malSpecificProperties))
MOCK_METHOD2(getDataEntityUnsafe, void *(const std::string &libraryName, const std::string &symbolName))
MOCK_METHOD3(createServer, std::unique_ptr< elt::mal::rr::Server >(const elt::mal::Uri &uri, const std::vector< std::shared_ptr< elt::mal::rr::qos::QoS >> &standardQoS, const Properties &malSpecificProperties))
MOCK_METHOD5(getClientUnsafe, void *(const std::string &libraryName, const std::string &symbolName, const elt::mal::Uri &uri, const std::vector< std::shared_ptr< elt::mal::rr::qos::QoS >> &standardQoS, const Properties &malSpecificProperties))