8 #ifndef DAQ_MOCK_DPMCLIENT_MOCK_HPP
9 #define DAQ_MOCK_DPMCLIENT_MOCK_HPP
12 #include <gmock/gmock.h>
31 (std::string
const&
id),
35 -> boost::signals2::connection
override {
40 -> boost::signals2::connection
override {
Combined mock and fake of interface to DPM server.
auto ConnectStorageSignal(StorageSignal::slot_type const &slot) -> boost::signals2::connection override
Connect slot to storage change signal.
MOCK_METHOD(boost::future< State >, ScheduleAsync,(std::string const &spec),(override))
Schedule merging.
StatusSignal status_signal
auto ConnectStatusSignal(StatusSignal::slot_type const &slot) -> boost::signals2::connection override
Connect slot to status change signal.
StorageSignal storage_signal
MOCK_METHOD(boost::future< State >, AbortAsync,(std::string const &id),(override))
Abort merging.
boost::signals2::signal< void(Status)> StatusSignal
virtual auto AbortAsync(std::string const &id) -> boost::future< State >=0
Abort merging.
virtual auto ScheduleAsync(std::string const &spec) -> boost::future< State >=0
Schedule merging.
boost::signals2::signal< void(std::filesystem::space_info)> StorageSignal