Arman Uguray | 6e5639f | 2012-11-15 20:30:19 -0800 | [diff] [blame] | 1 | // 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 Chan | c54afe5 | 2014-11-05 10:28:08 -0800 | [diff] [blame] | 5 | #ifndef SHILL_CELLULAR_MOCK_MM1_BEARER_PROXY_H_ |
| 6 | #define SHILL_CELLULAR_MOCK_MM1_BEARER_PROXY_H_ |
Arman Uguray | 6e5639f | 2012-11-15 20:30:19 -0800 | [diff] [blame] | 7 | |
| 8 | #include <string> |
| 9 | |
Arman Uguray | 6e5639f | 2012-11-15 20:30:19 -0800 | [diff] [blame] | 10 | #include <gmock/gmock.h> |
| 11 | |
Ben Chan | c54afe5 | 2014-11-05 10:28:08 -0800 | [diff] [blame] | 12 | #include "shill/cellular/mm1_bearer_proxy_interface.h" |
Arman Uguray | 6e5639f | 2012-11-15 20:30:19 -0800 | [diff] [blame] | 13 | |
| 14 | namespace shill { |
| 15 | namespace mm1 { |
| 16 | |
| 17 | class MockBearerProxy : public BearerProxyInterface { |
| 18 | public: |
| 19 | MockBearerProxy(); |
Ben Chan | 5ea763b | 2014-08-13 11:07:54 -0700 | [diff] [blame] | 20 | ~MockBearerProxy() override; |
Arman Uguray | 6e5639f | 2012-11-15 20:30:19 -0800 | [diff] [blame] | 21 | |
Paul Stewart | 2f6c789 | 2015-06-16 13:13:10 -0700 | [diff] [blame^] | 22 | MOCK_METHOD3(Connect, void(Error* error, |
| 23 | const ResultCallback& callback, |
Arman Uguray | 6e5639f | 2012-11-15 20:30:19 -0800 | [diff] [blame] | 24 | int timeout)); |
Paul Stewart | 2f6c789 | 2015-06-16 13:13:10 -0700 | [diff] [blame^] | 25 | MOCK_METHOD3(Disconnect, void(Error* error, |
| 26 | const ResultCallback& callback, |
Arman Uguray | 6e5639f | 2012-11-15 20:30:19 -0800 | [diff] [blame] | 27 | int timeout)); |
Arman Uguray | 6e5639f | 2012-11-15 20:30:19 -0800 | [diff] [blame] | 28 | }; |
| 29 | |
| 30 | } // namespace mm1 |
| 31 | } // namespace shill |
| 32 | |
Ben Chan | c54afe5 | 2014-11-05 10:28:08 -0800 | [diff] [blame] | 33 | #endif // SHILL_CELLULAR_MOCK_MM1_BEARER_PROXY_H_ |