blob: aeaf8b5786e5c27b57f42ac8352e23121b2200f4 [file] [log] [blame]
// Copyright 2021 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef RMAD_SYSTEM_MOCK_RUNTIME_PROBE_CLIENT_H_
#define RMAD_SYSTEM_MOCK_RUNTIME_PROBE_CLIENT_H_
#include "rmad/system/runtime_probe_client.h"
#include <set>
#include <vector>
#include <gmock/gmock.h>
#include <runtime_probe/proto_bindings/runtime_probe.pb.h>
namespace rmad {
class MockRuntimeProbeClient : public RuntimeProbeClient {
public:
MockRuntimeProbeClient() = default;
MockRuntimeProbeClient(const MockRuntimeProbeClient&) = delete;
MockRuntimeProbeClient& operator=(const MockRuntimeProbeClient&) = delete;
~MockRuntimeProbeClient() override = default;
MOCK_METHOD(bool,
ProbeCategories,
(const std::vector<RmadComponent>&, std::set<RmadComponent>*),
(override));
};
} // namespace rmad
#endif // RMAD_SYSTEM_MOCK_RUNTIME_PROBE_CLIENT_H_