blob: 7bc6a89219efcbb820f818d6967a58738a3ac2a4 [file] [log] [blame]
// Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SHILL_MOCK_OPENVPN_DRIVER_
#define SHILL_MOCK_OPENVPN_DRIVER_
#include <gmock/gmock.h>
#include "shill/openvpn_driver.h"
namespace shill {
class MockOpenVPNDriver : public OpenVPNDriver {
public:
MockOpenVPNDriver();
virtual ~MockOpenVPNDriver();
MOCK_METHOD0(OnReconnecting, void());
MOCK_METHOD1(Cleanup, void(Service::ConnectState state));
private:
DISALLOW_COPY_AND_ASSIGN(MockOpenVPNDriver);
};
} // namespace shill
#endif // SHILL_MOCK_OPENVPN_DRIVER_