blob: d189718f36bdf38d971c81a398deb3ea0c9ed133 [file] [log] [blame]
Peter Qiufcc00ee2015-01-16 15:38:45 -08001// Copyright 2015 The Chromium OS Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef SHILL_MOCK_PASSIVE_LINK_MONITOR_H_
6#define SHILL_MOCK_PASSIVE_LINK_MONITOR_H_
7
8#include "shill/passive_link_monitor.h"
9
10#include <base/macros.h>
11#include <gmock/gmock.h>
12
13namespace shill {
14
Peter Qiuffa56372015-01-22 14:25:23 -080015class Connection;
16
Peter Qiufcc00ee2015-01-16 15:38:45 -080017class MockPassiveLinkMonitor : public PassiveLinkMonitor {
18 public:
19 MockPassiveLinkMonitor();
20 ~MockPassiveLinkMonitor() override;
21
22 MOCK_METHOD1(Start, bool(int));
23 MOCK_METHOD0(Stop, void());
24
25 private:
26 DISALLOW_COPY_AND_ASSIGN(MockPassiveLinkMonitor);
27};
28
29} // namespace shill
30
31#endif // SHILL_MOCK_PASSIVE_LINK_MONITOR_H_