blob: 507e2537ff41062532c79eeee9821d14109da73a [file] [log] [blame]
David Rochbergfa1d31d2012-03-20 10:38:07 -04001// 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#include "shill/mock_cellular.h"
6
Christopher Wiley7d0953e2012-11-16 00:37:10 -08007#include <gmock/gmock.h>
8
9#include "shill/error.h"
10
David Rochbergfa1d31d2012-03-20 10:38:07 -040011namespace shill {
12
13// TODO(rochberg): The cellular constructor does work. Ought to fix
14// this so that we don't depend on passing real values in for Type.
15
16MockCellular::MockCellular(ControlInterface *control_interface,
17 EventDispatcher *dispatcher,
18 Metrics *metrics,
19 Manager *manager,
20 const std::string &link_name,
21 const std::string &address,
22 int interface_index,
23 Type type,
24 const std::string &owner,
Jason Glasgowa585fc32012-06-06 11:04:09 -040025 const std::string &service,
David Rochbergfa1d31d2012-03-20 10:38:07 -040026 const std::string &path,
Ben Chan62028b22012-11-05 11:20:02 -080027 CellularOperatorInfo *cellular_operator_info,
Ben Chan3ecdf822012-08-06 12:29:23 -070028 mobile_provider_db *provider_db,
29 ProxyFactory *proxy_factory)
David Rochbergfa1d31d2012-03-20 10:38:07 -040030 : Cellular(control_interface, dispatcher, metrics, manager, link_name,
Jason Glasgowa585fc32012-06-06 11:04:09 -040031 address, interface_index, type, owner, service, path,
Ben Chan62028b22012-11-05 11:20:02 -080032 cellular_operator_info, provider_db, proxy_factory) {}
David Rochbergfa1d31d2012-03-20 10:38:07 -040033
34MockCellular::~MockCellular() {}
35
36} // namespace shill