blob: ac65fd20a57fca74c36559f4a01dfea3424f8a30 [file] [log] [blame]
Darin Petkove0a312e2011-07-20 13:45:28 -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_DBUS_PROPERTIES_PROXY_H_
6#define SHILL_MOCK_DBUS_PROPERTIES_PROXY_H_
7
Darin Petkov1bdedf12011-08-26 13:32:11 -07008#include <base/basictypes.h>
Darin Petkove0a312e2011-07-20 13:45:28 -07009#include <gmock/gmock.h>
10
11#include "shill/dbus_properties_proxy_interface.h"
12
13namespace shill {
14
15class MockDBusPropertiesProxy : public DBusPropertiesProxyInterface {
16 public:
Darin Petkov1bdedf12011-08-26 13:32:11 -070017 MockDBusPropertiesProxy();
18 virtual ~MockDBusPropertiesProxy();
19
Darin Petkove0a312e2011-07-20 13:45:28 -070020 MOCK_METHOD1(GetAll, DBusPropertiesMap(const std::string &interface_name));
Jason Glasgow9c09e362012-04-18 15:16:29 -040021 MOCK_METHOD1(set_properties_changed_callback,
22 void(const PropertiesChangedCallback &callback));
23 MOCK_METHOD1(set_modem_manager_properties_changed_callback,
24 void(const ModemManagerPropertiesChangedCallback &callback));
Darin Petkov1bdedf12011-08-26 13:32:11 -070025
26 private:
27 DISALLOW_COPY_AND_ASSIGN(MockDBusPropertiesProxy);
Darin Petkove0a312e2011-07-20 13:45:28 -070028};
29
30} // namespace shill
31
32#endif // SHILL_MOCK_DBUS_PROPERTIES_PROXY_H_