blob: 89eb507c384b55ea4567fb041d4e2ea5061530d8 [file] [log] [blame]
mukesh agrawal31950242011-07-14 11:53:38 -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 MOCK_SUPPLICANT_PROCESS_PROXY_H_
6#define MOCK_SUPPLICANT_PROCESS_PROXY_H_
7
8#include <gmock/gmock.h>
9
10#include "supplicant_process_proxy_interface.h"
11
12namespace shill {
13
14class MockSupplicantProcessProxy : public SupplicantProcessProxyInterface {
15 public:
16 MockSupplicantProcessProxy() {}
17 virtual ~MockSupplicantProcessProxy() {}
18
19 MOCK_METHOD1(CreateInterface,
20 ::DBus::Path(
21 const std::map<std::string, ::DBus::Variant> &args));
22 MOCK_METHOD1(GetInterface, ::DBus::Path(const std::string &ifname));
23 MOCK_METHOD1(RemoveInterface, void(const ::DBus::Path &path));
24
25 private:
26 DISALLOW_COPY_AND_ASSIGN(MockSupplicantProcessProxy);
27};
28
29} // namespace shill
30
31#endif // MOCK_SUPPLICANT_PROCESS_PROXY_H_