ifw-daq
2.1.0-pre1
IFW Data Acquisition modules
|
Go to the documentation of this file.
9 #ifndef OCM_DAQ_TEST_MOCK_META_DAQ_ASYNC_MOCK_HPP
10 #define OCM_DAQ_TEST_MOCK_META_DAQ_ASYNC_MOCK_HPP
12 #include <Metadaqif.hpp>
13 #include <gmock/gmock.h>
19 ::elt::mal::future<std::shared_ptr<::metadaqif::DaqReply>>(
const std::string&));
21 ::elt::mal::future<std::shared_ptr<::metadaqif::DaqStopReply>>(
const std::string&));
23 ::elt::mal::future<std::shared_ptr<::metadaqif::DaqReply>>(
const std::string&));
25 ::elt::mal::future<std::shared_ptr<::metadaqif::DaqStatus>>(
const std::string&));
29 std::shared_ptr<::elt::mal::Mal>());
31 ::elt::mal::future<void>());
32 MOCK_METHOD1(registerConnectionListener, elt::mal::rr::ListenerRegistration(elt::mal::rr::ClientRrEntity::ConnectionListener));
46 std::unique_ptr<metadaqif::DaqReply>
clone()
const override {
49 std::unique_ptr<metadaqif::DaqReply>
cloneKey()
const override {
55 bool keyEquals(
const metadaqif::DaqReply& other)
const override {
71 std::unique_ptr<metadaqif::DaqStopReply>
clone()
const override {
74 std::unique_ptr<metadaqif::DaqStopReply>
cloneKey()
const override {
80 bool keyEquals(
const metadaqif::DaqStopReply& other)
const override {
106 std::unique_ptr<metadaqif::DaqStatus>
clone()
const override {
109 std::unique_ptr<metadaqif::DaqStatus>
cloneKey()
const override {
115 bool keyEquals(
const metadaqif::DaqStatus& other)
const override {
121 #endif // #ifndef OCM_DAQ_TEST_MOCK_META_DAQ_ASYNC_MOCK_HPP
MOCK_CONST_METHOD0(getKeywords, std::string())
MOCK_CONST_METHOD0(getId, std::string())
bool hasKey() const override
std::unique_ptr< metadaqif::DaqStatus > clone() const override
bool hasKey() const override
MOCK_METHOD1(setKeywords, void(std::string const &))
std::unique_ptr< metadaqif::DaqReply > cloneKey() const override
MOCK_METHOD1(setId, void(const std::string &))
MOCK_METHOD1(setId, void(const std::string &))
bool keyEquals(const metadaqif::DaqStopReply &other) const override
MOCK_CONST_METHOD0(getMessage, std::string())
MOCK_METHOD1(setFiles, void(std::vector< std::string > const &))
std::unique_ptr< metadaqif::DaqReply > clone() const override
MOCK_CONST_METHOD0(getFiles, std::vector< std::string >())
MOCK_CONST_METHOD0(getMessage, std::string())
MOCK_CONST_METHOD0(getFiles, std::vector< std::string >())
MOCK_CONST_METHOD0(getId, std::string())
bool keyEquals(const metadaqif::DaqReply &other) const override
MOCK_METHOD1(setStatus, void(uint32_t))
MOCK_METHOD1(setMessage, void(const std::string &))
MOCK_METHOD1(setId, void(const std::string &))
MOCK_METHOD1(setTimestamp, void(double))
MOCK_CONST_METHOD0(getId, std::string())
MOCK_METHOD1(setFiles, void(std::vector< std::string > const &))
std::unique_ptr< metadaqif::DaqStopReply > clone() const override
MOCK_METHOD1(setMessage, void(const std::string &))
MOCK_CONST_METHOD0(getStatus, uint32_t())
MOCK_CONST_METHOD0(getState, metadaqif::DaqState())
bool keyEquals(const metadaqif::DaqStatus &other) const override
MOCK_METHOD1(setState, void(metadaqif::DaqState))
MOCK_CONST_METHOD0(getTimestamp, double())
std::unique_ptr< metadaqif::DaqStopReply > cloneKey() const override
MOCK_METHOD1(setKeywords, void(std::string const &))
bool hasKey() const override
MOCK_CONST_METHOD0(getKeywords, std::string())
std::unique_ptr< metadaqif::DaqStatus > cloneKey() const override