blob: 05ae0062cebf79d4d7742973fb2b2209e1d6d624 [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
Hristo Stefanoved2c28c2011-11-29 15:37:30 -08008#include <map>
9#include <string>
10
Darin Petkovef34f182011-08-26 14:14:40 -070011#include <base/basictypes.h>
mukesh agrawal31950242011-07-14 11:53:38 -070012#include <gmock/gmock.h>
13
Darin Petkovef34f182011-08-26 14:14:40 -070014#include "shill/supplicant_process_proxy_interface.h"
mukesh agrawal31950242011-07-14 11:53:38 -070015
16namespace shill {
17
18class MockSupplicantProcessProxy : public SupplicantProcessProxyInterface {
19 public:
Darin Petkovef34f182011-08-26 14:14:40 -070020 MockSupplicantProcessProxy();
21 virtual ~MockSupplicantProcessProxy();
mukesh agrawal31950242011-07-14 11:53:38 -070022
23 MOCK_METHOD1(CreateInterface,
24 ::DBus::Path(
25 const std::map<std::string, ::DBus::Variant> &args));
26 MOCK_METHOD1(GetInterface, ::DBus::Path(const std::string &ifname));
27 MOCK_METHOD1(RemoveInterface, void(const ::DBus::Path &path));
28
29 private:
30 DISALLOW_COPY_AND_ASSIGN(MockSupplicantProcessProxy);
31};
32
33} // namespace shill
34
35#endif // MOCK_SUPPLICANT_PROCESS_PROXY_H_