| // Copyright (c) 2011 The Chromium OS Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #include "shill/cellular/mock_modem_proxy.h" |
| |
| #include "shill/testing.h" |
| |
| using testing::_; |
| |
| namespace shill { |
| |
| MockModemProxy::MockModemProxy() { |
| ON_CALL(*this, Enable(_, _, _, _)) |
| .WillByDefault(SetOperationFailedInArgumentAndWarn<1>()); |
| ON_CALL(*this, Disconnect(_, _, _)) |
| .WillByDefault(SetOperationFailedInArgumentAndWarn<0>()); |
| ON_CALL(*this, GetModemInfo(_, _, _)) |
| .WillByDefault(SetOperationFailedInArgumentAndWarn<0>()); |
| } |
| |
| MockModemProxy::~MockModemProxy() {} |
| |
| } // namespace shill |