blob: bc69e942d40ce473cf7b55a2176cef5378a2b8b9 [file] [log] [blame]
Chris Masonea82b7112011-05-25 15:16:29 -07001// Copyright (c) 2011 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#include "shill/mock_device.h"
6
7#include <string>
8
9#include <base/memory/ref_counted.h>
10#include <base/stringprintf.h>
11#include <gmock/gmock.h>
12
13namespace shill {
14
15class ControlInterface;
16class EventDispatcher;
17
18using ::testing::_;
19using ::testing::Return;
20using std::string;
21
22MockDevice::MockDevice(ControlInterface *control_interface,
23 EventDispatcher *dispatcher,
24 Manager *manager,
25 const std::string &link_name,
26 int interface_index)
27 : Device(control_interface,
28 dispatcher,
29 manager,
30 link_name,
31 interface_index) {
32 ON_CALL(*this, TechnologyIs(_)).WillByDefault(Return(false));
33}
34
35MockDevice::~MockDevice() {}
36
37} // namespace shill