Darin Petkov | 1c11520 | 2012-03-22 15:35:47 +0100 | [diff] [blame] | 1 | // 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 | |
| 12 | namespace shill { |
| 13 | |
| 14 | class MockOpenVPNDriver : public OpenVPNDriver { |
| 15 | public: |
| 16 | MockOpenVPNDriver(const KeyValueStore &args); |
| 17 | virtual ~MockOpenVPNDriver(); |
| 18 | |
Darin Petkov | 271fe52 | 2012-03-27 13:47:29 +0200 | [diff] [blame] | 19 | MOCK_METHOD0(OnReconnecting, void()); |
| 20 | |
Darin Petkov | 1c11520 | 2012-03-22 15:35:47 +0100 | [diff] [blame] | 21 | private: |
| 22 | DISALLOW_COPY_AND_ASSIGN(MockOpenVPNDriver); |
| 23 | }; |
| 24 | |
| 25 | } // namespace shill |
| 26 | |
| 27 | #endif // SHILL_MOCK_OPENVPN_DRIVER_ |