Darin Petkov | ef34f18 | 2011-08-26 14:14:40 -0700 | [diff] [blame] | 1 | // Copyright (c) 2011 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_modem_cdma_proxy.h" |
| 6 | |
Prathmesh Prabhu | 303f653 | 2014-08-29 20:17:16 -0700 | [diff] [blame] | 7 | #include "shill/testing.h" |
| 8 | |
| 9 | using testing::_; |
| 10 | |
Darin Petkov | ef34f18 | 2011-08-26 14:14:40 -0700 | [diff] [blame] | 11 | namespace shill { |
| 12 | |
Prathmesh Prabhu | 303f653 | 2014-08-29 20:17:16 -0700 | [diff] [blame] | 13 | MockModemCDMAProxy::MockModemCDMAProxy() { |
| 14 | ON_CALL(*this, Activate(_, _, _, _)) |
| 15 | .WillByDefault(SetOperationFailedInArgumentAndWarn<1>()); |
| 16 | ON_CALL(*this, GetRegistrationState(_, _, _)) |
| 17 | .WillByDefault(SetOperationFailedInArgumentAndWarn<0>()); |
| 18 | ON_CALL(*this, GetSignalQuality(_, _, _)) |
| 19 | .WillByDefault(SetOperationFailedInArgumentAndWarn<0>()); |
| 20 | } |
Darin Petkov | ef34f18 | 2011-08-26 14:14:40 -0700 | [diff] [blame] | 21 | |
| 22 | MockModemCDMAProxy::~MockModemCDMAProxy() {} |
| 23 | |
| 24 | } // namespace shill |