blob: 6a2adf787e264f83e32a71d853d1f02f7c6522c7 [file] [log] [blame]
Eric Shienbrood5de44ab2011-12-05 10:46:27 -05001// Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
Darin Petkove604f702011-07-28 15:51:17 -07002// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef SHILL_MOCK_MODEM_SIMPLE_PROXY_H_
6#define SHILL_MOCK_MODEM_SIMPLE_PROXY_H_
7
Darin Petkovef34f182011-08-26 14:14:40 -07008#include <base/basictypes.h>
Darin Petkove604f702011-07-28 15:51:17 -07009#include <gmock/gmock.h>
10
11#include "shill/modem_simple_proxy_interface.h"
12
13namespace shill {
14
15class MockModemSimpleProxy : public ModemSimpleProxyInterface {
16 public:
Darin Petkovef34f182011-08-26 14:14:40 -070017 MockModemSimpleProxy();
18 virtual ~MockModemSimpleProxy();
19
Eric Shienbrood9a245532012-03-07 14:20:39 -050020 MOCK_METHOD3(GetModemStatus, void(Error *error,
21 const DBusPropertyMapCallback &callback,
Eric Shienbrood5de44ab2011-12-05 10:46:27 -050022 int timeout));
Eric Shienbrood9a245532012-03-07 14:20:39 -050023 MOCK_METHOD4(Connect, void(const DBusPropertiesMap &properties,
24 Error *error, const ResultCallback &callback,
25 int timeout));
Darin Petkovef34f182011-08-26 14:14:40 -070026
27 private:
28 DISALLOW_COPY_AND_ASSIGN(MockModemSimpleProxy);
Darin Petkove604f702011-07-28 15:51:17 -070029};
30
31} // namespace shill
32
33#endif // SHILL_MOCK_MODEM_SIMPLE_PROXY_H_