blob: 22f0b9ba65f8b54b9324b6c93934c314779e4479 [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
Ben Chanc54afe52014-11-05 10:28:08 -08005#include "shill/cellular/mock_cellular.h"
David Rochbergfa1d31d2012-03-20 10:38:07 -04006
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
Paul Stewart2f6c7892015-06-16 13:13:10 -070016MockCellular::MockCellular(ModemInfo* modem_info,
17 const std::string& link_name,
18 const std::string& address,
David Rochbergfa1d31d2012-03-20 10:38:07 -040019 int interface_index,
20 Type type,
Paul Stewart2f6c7892015-06-16 13:13:10 -070021 const std::string& owner,
22 const std::string& service,
23 const std::string& path,
24 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