blob: 62e88f16587f84c2209b3aa347b96c1ee8f644d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#pragma once
#include "util.hpp"
#include <sdbusplus/bus.hpp>
#include <string>
#include <gmock/gmock.h>
class DbusHelperMock : public DbusHelperInterface
{
public:
virtual ~DbusHelperMock() = default;
MOCK_METHOD3(getService,
std::string(sdbusplus::bus::bus&, const std::string&,
const std::string&));
MOCK_METHOD4(getProperties,
void(sdbusplus::bus::bus&, const std::string&,
const std::string&, struct SensorProperties*));
MOCK_METHOD3(thresholdsAsserted,
bool(sdbusplus::bus::bus& bus, const std::string& service,
const std::string& path));
};
|