Darin Petkov | e0a312e | 2011-07-20 13:45:28 -0700 | [diff] [blame] | 1 | // 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 Petkov | 1bdedf1 | 2011-08-26 13:32:11 -0700 | [diff] [blame] | 8 | #include <base/basictypes.h> |
Darin Petkov | e0a312e | 2011-07-20 13:45:28 -0700 | [diff] [blame] | 9 | #include <gmock/gmock.h> |
| 10 | |
| 11 | #include "shill/dbus_properties_proxy_interface.h" |
| 12 | |
| 13 | namespace shill { |
| 14 | |
| 15 | class MockDBusPropertiesProxy : public DBusPropertiesProxyInterface { |
| 16 | public: |
Darin Petkov | 1bdedf1 | 2011-08-26 13:32:11 -0700 | [diff] [blame] | 17 | MockDBusPropertiesProxy(); |
| 18 | virtual ~MockDBusPropertiesProxy(); |
| 19 | |
Darin Petkov | e0a312e | 2011-07-20 13:45:28 -0700 | [diff] [blame] | 20 | MOCK_METHOD1(GetAll, DBusPropertiesMap(const std::string &interface_name)); |
Jason Glasgow | 9c09e36 | 2012-04-18 15:16:29 -0400 | [diff] [blame] | 21 | 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 Petkov | 1bdedf1 | 2011-08-26 13:32:11 -0700 | [diff] [blame] | 25 | |
| 26 | private: |
| 27 | DISALLOW_COPY_AND_ASSIGN(MockDBusPropertiesProxy); |
Darin Petkov | e0a312e | 2011-07-20 13:45:28 -0700 | [diff] [blame] | 28 | }; |
| 29 | |
| 30 | } // namespace shill |
| 31 | |
| 32 | #endif // SHILL_MOCK_DBUS_PROPERTIES_PROXY_H_ |