blob: 7213582ff1f454598feb8909f0aa218702e3608a [file] [log] [blame]
Darin Petkov1c115202012-03-22 15:35:47 +01001// Copyright (c) 2012 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_OPENVPN_DRIVER_
6#define SHILL_MOCK_OPENVPN_DRIVER_
7
8#include <gmock/gmock.h>
9
10#include "shill/openvpn_driver.h"
11
12namespace shill {
13
14class MockOpenVPNDriver : public OpenVPNDriver {
15 public:
16 MockOpenVPNDriver(const KeyValueStore &args);
17 virtual ~MockOpenVPNDriver();
18
Darin Petkov271fe522012-03-27 13:47:29 +020019 MOCK_METHOD0(OnReconnecting, void());
20
Darin Petkov1c115202012-03-22 15:35:47 +010021 private:
22 DISALLOW_COPY_AND_ASSIGN(MockOpenVPNDriver);
23};
24
25} // namespace shill
26
27#endif // SHILL_MOCK_OPENVPN_DRIVER_