blob: be6e17e984158a6828a49ae600a5257f360d18e0 [file] [log] [blame]
Darin Petkove604f702011-07-28 15:51:17 -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#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
Darin Petkove604f702011-07-28 15:51:17 -070020 MOCK_METHOD0(GetStatus, DBusPropertiesMap());
Darin Petkovc5f56562011-08-06 16:40:05 -070021 MOCK_METHOD1(Connect, void(const DBusPropertiesMap &properties));
Darin Petkovef34f182011-08-26 14:14:40 -070022
23 private:
24 DISALLOW_COPY_AND_ASSIGN(MockModemSimpleProxy);
Darin Petkove604f702011-07-28 15:51:17 -070025};
26
27} // namespace shill
28
29#endif // SHILL_MOCK_MODEM_SIMPLE_PROXY_H_