blob: 1bd84d003535e0c98a7c0c3ec247df5f1e284725 [file] [log] [blame]
Paul Stewart59a8cba2015-01-09 15:48:19 -08001// Copyright 2015 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_UPSTART_MOCK_UPSTART_PROXY_H_
6#define SHILL_UPSTART_MOCK_UPSTART_PROXY_H_
7
8#include <string>
9#include <vector>
10
11#include <base/macros.h>
12#include <gmock/gmock.h>
13
14#include "shill/upstart/upstart_proxy_interface.h"
15
16namespace shill {
17
18class MockUpstartProxy : public UpstartProxyInterface {
19 public:
20 MockUpstartProxy();
21 ~MockUpstartProxy() override;
22
23 MOCK_METHOD3(EmitEvent,
24 void(const std::string &name,
25 const std::vector<std::string> &env,
26 bool wait));
27
28 private:
29 DISALLOW_COPY_AND_ASSIGN(MockUpstartProxy);
30};
31
32} // namespace shill
33
34#endif // SHILL_UPSTART_MOCK_UPSTART_PROXY_H_