blob: 083b5d29ed89236f8161817a61397275f8b6c9d3 [file] [log] [blame]
Paul Stewart6c72c972012-07-27 11:29:20 -07001// Copyright (c) 2012 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_LINK_MONITOR_H_
6#define SHILL_MOCK_LINK_MONITOR_H_
7
8#include "shill/link_monitor.h"
9
10#include <gmock/gmock.h>
11
12namespace shill {
13
14class MockLinkMonitor : public LinkMonitor {
15 public:
16 MockLinkMonitor();
17 virtual ~MockLinkMonitor();
18
19 MOCK_METHOD0(Start, bool());
20 MOCK_METHOD0(Stop, void());
21 MOCK_METHOD0(GetResponseTimeMilliseconds, unsigned int());
22
23 DISALLOW_COPY_AND_ASSIGN(MockLinkMonitor);
24};
25
26} // namespace shill
27
28#endif // SHILL_MOCK_LINK_MONITOR_H_