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 | |
| 5 | #include "shill/mock_cellular.h" |
| 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 | |
| 16 | MockCellular::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 Glasgow | a585fc3 | 2012-06-06 11:04:09 -0400 | [diff] [blame] | 25 | const std::string &service, |
David Rochberg | fa1d31d | 2012-03-20 10:38:07 -0400 | [diff] [blame] | 26 | const std::string &path, |
Prathmesh Prabhu | 97f317c | 2013-03-15 16:20:34 -0700 | [diff] [blame] | 27 | ActivatingIccidStore *activating_iccid_store, |
Ben Chan | 62028b2 | 2012-11-05 11:20:02 -0800 | [diff] [blame] | 28 | CellularOperatorInfo *cellular_operator_info, |
Ben Chan | 3ecdf82 | 2012-08-06 12:29:23 -0700 | [diff] [blame] | 29 | mobile_provider_db *provider_db, |
| 30 | ProxyFactory *proxy_factory) |
David Rochberg | fa1d31d | 2012-03-20 10:38:07 -0400 | [diff] [blame] | 31 | : Cellular(control_interface, dispatcher, metrics, manager, link_name, |
Jason Glasgow | a585fc3 | 2012-06-06 11:04:09 -0400 | [diff] [blame] | 32 | address, interface_index, type, owner, service, path, |
Prathmesh Prabhu | 97f317c | 2013-03-15 16:20:34 -0700 | [diff] [blame] | 33 | activating_iccid_store, cellular_operator_info, provider_db, |
| 34 | proxy_factory) {} |
David Rochberg | fa1d31d | 2012-03-20 10:38:07 -0400 | [diff] [blame] | 35 | |
| 36 | MockCellular::~MockCellular() {} |
| 37 | |
| 38 | } // namespace shill |