blob: 33bfd4a190246044fad40aca24ac2e8b65a3c49c [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_METHOD1(OnReconnecting, void(ReconnectReason reason));
MOCK_METHOD1(Cleanup, void(Service::ConnectState state));
private:
DISALLOW_COPY_AND_ASSIGN(MockOpenVPNDriver);
};
} // namespace shill
#endif // SHILL_MOCK_OPENVPN_DRIVER_