blob: c35c300f6e0d7efc48d959236171ae893cc16edf [file] [log] [blame]
Arman Uguray6e5639f2012-11-15 20:30:19 -08001// 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
Ben Chanc54afe52014-11-05 10:28:08 -08005#ifndef SHILL_CELLULAR_MOCK_MM1_BEARER_PROXY_H_
6#define SHILL_CELLULAR_MOCK_MM1_BEARER_PROXY_H_
Arman Uguray6e5639f2012-11-15 20:30:19 -08007
8#include <string>
9
Arman Uguray6e5639f2012-11-15 20:30:19 -080010#include <gmock/gmock.h>
11
Ben Chanc54afe52014-11-05 10:28:08 -080012#include "shill/cellular/mm1_bearer_proxy_interface.h"
Arman Uguray6e5639f2012-11-15 20:30:19 -080013
14namespace shill {
15namespace mm1 {
16
17class MockBearerProxy : public BearerProxyInterface {
18 public:
19 MockBearerProxy();
Ben Chan5ea763b2014-08-13 11:07:54 -070020 ~MockBearerProxy() override;
Arman Uguray6e5639f2012-11-15 20:30:19 -080021
Paul Stewart2f6c7892015-06-16 13:13:10 -070022 MOCK_METHOD3(Connect, void(Error* error,
23 const ResultCallback& callback,
Arman Uguray6e5639f2012-11-15 20:30:19 -080024 int timeout));
Paul Stewart2f6c7892015-06-16 13:13:10 -070025 MOCK_METHOD3(Disconnect, void(Error* error,
26 const ResultCallback& callback,
Arman Uguray6e5639f2012-11-15 20:30:19 -080027 int timeout));
Arman Uguray6e5639f2012-11-15 20:30:19 -080028};
29
30} // namespace mm1
31} // namespace shill
32
Ben Chanc54afe52014-11-05 10:28:08 -080033#endif // SHILL_CELLULAR_MOCK_MM1_BEARER_PROXY_H_