ifw-daq
2.1.0-pre1
IFW Data Acquisition modules
|
Go to the documentation of this file.
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 {
virtual auto ScheduleAsync(std::string const &spec) -> boost::future< State >=0
Schedule merging.
boost::signals2::signal< void(Status)> StatusSignal
MOCK_METHOD(boost::future< State >, AbortAsync,(std::string const &id),(override))
Abort merging.
auto ConnectStorageSignal(StorageSignal::slot_type const &slot) -> boost::signals2::connection override
Connect slot to storage change signal.
Combined mock and fake of interface to DPM server.
StorageSignal storage_signal
auto ConnectStatusSignal(StatusSignal::slot_type const &slot) -> boost::signals2::connection override
Connect slot to status change signal.
boost::signals2::signal< void(std::filesystem::space_info)> StorageSignal
MOCK_METHOD(boost::future< State >, ScheduleAsync,(std::string const &spec),(override))
Schedule merging.
virtual auto AbortAsync(std::string const &id) -> boost::future< State >=0
Abort merging.
StatusSignal status_signal