blob: 6ebe04348213b0dabcf15a08a7915cfb0e9cc2f5 [file] [log] [blame]
Chris Masone626719f2011-08-18 16:58:48 -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_MANAGER_
6#define SHILL_MOCK_MANAGER_
7
8#include <base/memory/ref_counted.h>
9#include <gmock/gmock.h>
10
11#include "shill/manager.h"
12
13namespace shill {
14
15class ControlInterface;
16class DeviceInfo;
17class EventDispatcher;
18class GLib;
19class PropertyStore;
20
21class MockManager : public Manager {
22 public:
23 MockManager(ControlInterface *control_interface,
24 EventDispatcher *dispatcher,
25 GLib *glib)
26 : Manager(control_interface, dispatcher, glib) {
27 }
28 ~MockManager() {}
29
30 MOCK_METHOD0(device_info, DeviceInfo*(void));
31 MOCK_METHOD0(store, PropertyStore*(void));
32
33 private:
34 DISALLOW_COPY_AND_ASSIGN(MockManager);
35};
36
37} // namespace shill
38
39#endif // SHILL_MOCK_MANAGER_