blob: d05b66591a1deb78f5ba62c37191cc6bc6489333 [file] [log] [blame]
Paul Stewart735eab52013-03-29 09:19:23 -07001// Copyright (c) 2013 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_SUPPLICANT_EAP_STATE_HANDLER_H_
6#define SHILL_MOCK_SUPPLICANT_EAP_STATE_HANDLER_H_
7
8#include <string>
9
10#include <gmock/gmock.h>
11
12#include "shill/supplicant_eap_state_handler.h"
13
14namespace shill {
15
16class MockSupplicantEAPStateHandler : public SupplicantEAPStateHandler {
17 public:
18 MockSupplicantEAPStateHandler();
Ben Chan5ea763b2014-08-13 11:07:54 -070019 ~MockSupplicantEAPStateHandler() override;
Paul Stewart735eab52013-03-29 09:19:23 -070020
21 MOCK_METHOD3(ParseStatus, bool(const std::string &status,
22 const std::string &parameter,
23 Service::ConnectFailure *failure));
24 MOCK_METHOD0(Reset, void());
25 MOCK_METHOD0(is_eap_in_progress, bool());
26
27 private:
28 DISALLOW_COPY_AND_ASSIGN(MockSupplicantEAPStateHandler);
29};
30
31} // namespace shill
32
Ben Chanc45688b2014-07-02 23:50:45 -070033#endif // SHILL_MOCK_SUPPLICANT_EAP_STATE_HANDLER_H_