blob: 9a8958fc9218da73d823378e2f78977903c5adad [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
Ben Chancc67c522014-09-03 07:19:18 -07008#include <base/macros.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();
Ben Chan5ea763b2014-08-13 11:07:54 -070018 ~MockModemSimpleProxy() override;
Darin Petkovef34f182011-08-26 14:14:40 -070019
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_