blob: 710da308c58d7d56f5b16800f2079921ee44b1f5 [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));
Darin Petkov1bdedf12011-08-26 13:32:11 -070021
22 private:
23 DISALLOW_COPY_AND_ASSIGN(MockDBusPropertiesProxy);
Darin Petkove0a312e2011-07-20 13:45:28 -070024};
25
26} // namespace shill
27
28#endif // SHILL_MOCK_DBUS_PROPERTIES_PROXY_H_