blob: 6871380c42b837a9a9a5f96ef4b33cd488787510 [file] [log] [blame]
Darin Petkovef34f182011-08-26 14:14:40 -07001// 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 Prabhu303f6532014-08-29 20:17:16 -07007#include "shill/testing.h"
8
9using testing::_;
10
Darin Petkovef34f182011-08-26 14:14:40 -070011namespace shill {
12
Prathmesh Prabhu303f6532014-08-29 20:17:16 -070013MockModemCDMAProxy::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 Petkovef34f182011-08-26 14:14:40 -070021
22MockModemCDMAProxy::~MockModemCDMAProxy() {}
23
24} // namespace shill