blob: c5a4394d34f703924074b3b20e691647111c85ea [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
Prathmesh Prabhu27526f12013-03-25 19:42:18 -070016MockCellular::MockCellular(ModemInfo *modem_info,
David Rochbergfa1d31d2012-03-20 10:38:07 -040017 const std::string &link_name,
18 const std::string &address,
19 int interface_index,
20 Type type,
21 const std::string &owner,
Jason Glasgowa585fc32012-06-06 11:04:09 -040022 const std::string &service,
David Rochbergfa1d31d2012-03-20 10:38:07 -040023 const std::string &path,
Ben Chan3ecdf822012-08-06 12:29:23 -070024 ProxyFactory *proxy_factory)
Prathmesh Prabhu27526f12013-03-25 19:42:18 -070025 : Cellular(modem_info, link_name, address, interface_index, type, owner,
26 service, path, proxy_factory) {}
David Rochbergfa1d31d2012-03-20 10:38:07 -040027
28MockCellular::~MockCellular() {}
29
30} // namespace shill