David Rochberg | fa1d31d | 2012-03-20 10:38:07 -0400 | [diff] [blame] | 1 | // 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 Chan | c54afe5 | 2014-11-05 10:28:08 -0800 | [diff] [blame] | 5 | #include "shill/cellular/mock_cellular.h" |
David Rochberg | fa1d31d | 2012-03-20 10:38:07 -0400 | [diff] [blame] | 6 | |
Christopher Wiley | 7d0953e | 2012-11-16 00:37:10 -0800 | [diff] [blame] | 7 | #include <gmock/gmock.h> |
| 8 | |
| 9 | #include "shill/error.h" |
| 10 | |
David Rochberg | fa1d31d | 2012-03-20 10:38:07 -0400 | [diff] [blame] | 11 | namespace 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 Stewart | 2f6c789 | 2015-06-16 13:13:10 -0700 | [diff] [blame^] | 16 | MockCellular::MockCellular(ModemInfo* modem_info, |
| 17 | const std::string& link_name, |
| 18 | const std::string& address, |
David Rochberg | fa1d31d | 2012-03-20 10:38:07 -0400 | [diff] [blame] | 19 | int interface_index, |
| 20 | Type type, |
Paul Stewart | 2f6c789 | 2015-06-16 13:13:10 -0700 | [diff] [blame^] | 21 | const std::string& owner, |
| 22 | const std::string& service, |
| 23 | const std::string& path, |
| 24 | ProxyFactory* proxy_factory) |
Prathmesh Prabhu | 27526f1 | 2013-03-25 19:42:18 -0700 | [diff] [blame] | 25 | : Cellular(modem_info, link_name, address, interface_index, type, owner, |
| 26 | service, path, proxy_factory) {} |
David Rochberg | fa1d31d | 2012-03-20 10:38:07 -0400 | [diff] [blame] | 27 | |
| 28 | MockCellular::~MockCellular() {} |
| 29 | |
| 30 | } // namespace shill |