9 #ifndef OCM_DAQ_TEST_MOCK_DAQIF_ASYNC_MOCK_HPP
10 #define OCM_DAQ_TEST_MOCK_DAQIF_ASYNC_MOCK_HPP
13 #include <gmock/gmock.h>
18 MOCK_METHOD(::elt::mal::future<std::shared_ptr<::daqif::DaqReply>>,
20 (
const std::string& specification),
22 MOCK_METHOD(::elt::mal::future<std::shared_ptr<::daqif::DaqReply>>,
24 (
const std::string&
id),
27 ::elt::mal::future<std::shared_ptr<::daqif::DaqStatus>>,
29 (
const std::string&
id),
31 MOCK_METHOD(::elt::mal::future<std::vector<std::shared_ptr<::daqif::DaqStatus>>>,
37 MOCK_METHOD(std::shared_ptr<::elt::mal::Mal>, getMal, (), (
const,
override));
38 MOCK_METHOD(::elt::mal::future<void>, asyncConnect, (), (
override));
40 registerConnectionListener,
41 (elt::mal::rr::ClientRrEntity::ConnectionListener),
51 MOCK_METHOD1(setDpFiles,
void(
const std::vector<std::string>&));
57 MOCK_METHOD1(setFilesGenerated,
void(int32_t files_generated));
60 MOCK_METHOD1(setFramesProcessed,
void(int32_t frames_recorded));
63 MOCK_METHOD1(setFramesRemaining,
void(int32_t frames_remaining));
69 MOCK_METHOD1(setRemainingTime,
void(
double remaining_time));
72 MOCK_METHOD1(setSizeRecorded,
void(int32_t size_recorded));
78 MOCK_METHOD1(setStatus,
void(::recif::RecStatusNames status));
84 std::unique_ptr<recif::RecStatus>
clone()
const override {
87 std::unique_ptr<recif::RecStatus>
cloneKey()
const override {
90 bool hasKey()
const override {
93 bool keyEquals(
const recif::RecStatus& other)
const override {
MOCK_METHOD(::elt::mal::future< std::shared_ptr<::daqif::DaqReply >>, QueueDaq,(const std::string &specification),(override))
MOCK_METHOD(::elt::mal::future< std::vector< std::shared_ptr<::daqif::DaqStatus >>>, GetActiveDaqs,(),(override))
MOCK_METHOD(::elt::mal::future< std::shared_ptr<::daqif::DaqReply >>, AbortDaq,(const std::string &id),(override))
MOCK_METHOD(std::shared_ptr<::elt::mal::Mal >, getMal,(),(const, override))
MOCK_METHOD(::elt::mal::future< void >, asyncConnect,(),(override))
MOCK_METHOD(elt::mal::rr::ListenerRegistration, registerConnectionListener,(elt::mal::rr::ClientRrEntity::ConnectionListener),(override))
MOCK_METHOD(::elt::mal::future< std::shared_ptr<::daqif::DaqStatus >>, GetDaqStatus,(const std::string &id),(override))
bool hasKey() const override
bool keyEquals(const recif::RecStatus &other) const override
std::unique_ptr< recif::RecStatus > cloneKey() const override
MOCK_CONST_METHOD0(getId, std::string())
std::unique_ptr< recif::RecStatus > clone() const override
MOCK_METHOD1(setId, void(const std::string &))