blob: b39113b7cca13b25a2556074494af8f222493900 [file] [log] [blame]
Jason Glasgowef965562012-04-10 16:12:35 -04001// 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_mm1_modem_simple_proxy.h"
6
Prathmesh Prabhu303f6532014-08-29 20:17:16 -07007#include "shill/testing.h"
8
9using testing::_;
10
Jason Glasgowef965562012-04-10 16:12:35 -040011namespace shill {
12namespace mm1 {
13
Prathmesh Prabhu303f6532014-08-29 20:17:16 -070014MockModemSimpleProxy::MockModemSimpleProxy() {
15 ON_CALL(*this, Connect(_, _, _, _))
16 .WillByDefault(SetOperationFailedInArgumentAndWarn<1>());
17 ON_CALL(*this, Disconnect(_, _, _, _))
18 .WillByDefault(SetOperationFailedInArgumentAndWarn<1>());
19 ON_CALL(*this, GetStatus(_, _, _))
20 .WillByDefault(SetOperationFailedInArgumentAndWarn<0>());
21}
Jason Glasgowef965562012-04-10 16:12:35 -040022
23MockModemSimpleProxy::~MockModemSimpleProxy() {}
24
25} // namespace mm1
26} // namespace shill