blob: 64dabe9785dd131dd7710a40e9f97d68c2a0f718 [file] [log] [blame]
// Copyright 2018 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 SHILL_MOCK_PASSIVE_LINK_MONITOR_H_
#define SHILL_MOCK_PASSIVE_LINK_MONITOR_H_
#include "shill/passive_link_monitor.h"
#include <base/macros.h>
#include <gmock/gmock.h>
namespace shill {
class MockPassiveLinkMonitor : public PassiveLinkMonitor {
public:
MockPassiveLinkMonitor();
MockPassiveLinkMonitor(const MockPassiveLinkMonitor&) = delete;
MockPassiveLinkMonitor& operator=(const MockPassiveLinkMonitor&) = delete;
~MockPassiveLinkMonitor() override;
MOCK_METHOD(bool, Start, (int), (override));
MOCK_METHOD(void, Stop, (), (override));
};
} // namespace shill
#endif // SHILL_MOCK_PASSIVE_LINK_MONITOR_H_