Darin Petkov | 33af05c | 2012-02-28 10:10:30 +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_VPN_DRIVER_ |
| 6 | #define SHILL_MOCK_VPN_DRIVER_ |
| 7 | |
| 8 | #include <gmock/gmock.h> |
| 9 | |
| 10 | #include "shill/vpn_driver.h" |
| 11 | |
| 12 | namespace shill { |
| 13 | |
| 14 | class MockVPNDriver : public VPNDriver { |
| 15 | public: |
| 16 | MockVPNDriver(); |
| 17 | virtual ~MockVPNDriver(); |
| 18 | |
| 19 | MOCK_METHOD1(Connect, void(Error *error)); |
| 20 | }; |
| 21 | |
| 22 | } // namespace shill |
| 23 | |
| 24 | #endif // SHILL_MOCK_VPN_DRIVER_ |