blob: 083b5d29ed89236f8161817a61397275f8b6c9d3 [file] [log] [blame]
// Copyright (c) 2012 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_LINK_MONITOR_H_
#define SHILL_MOCK_LINK_MONITOR_H_
#include "shill/link_monitor.h"
#include <gmock/gmock.h>
namespace shill {
class MockLinkMonitor : public LinkMonitor {
public:
MockLinkMonitor();
virtual ~MockLinkMonitor();
MOCK_METHOD0(Start, bool());
MOCK_METHOD0(Stop, void());
MOCK_METHOD0(GetResponseTimeMilliseconds, unsigned int());
DISALLOW_COPY_AND_ASSIGN(MockLinkMonitor);
};
} // namespace shill
#endif // SHILL_MOCK_LINK_MONITOR_H_