blob: 7f15ae2731ec9ac88abe415e3304ea48a94ddf3a [file] [log] [blame]
// Copyright (c) 2013 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_SUPPLICANT_EAP_STATE_HANDLER_H_
#define SHILL_MOCK_SUPPLICANT_EAP_STATE_HANDLER_H_
#include <string>
#include <gmock/gmock.h>
#include "shill/supplicant_eap_state_handler.h"
namespace shill {
class MockSupplicantEAPStateHandler : public SupplicantEAPStateHandler {
public:
MockSupplicantEAPStateHandler();
virtual ~MockSupplicantEAPStateHandler();
MOCK_METHOD3(ParseStatus, bool(const std::string &status,
const std::string &parameter,
Service::ConnectFailure *failure));
MOCK_METHOD0(Reset, void());
MOCK_METHOD0(is_eap_in_progress, bool());
private:
DISALLOW_COPY_AND_ASSIGN(MockSupplicantEAPStateHandler);
};
} // namespace shill
#endif // SHILL_SUPPLICANT_EAP_STATE_HANDLER_H_