Jason Glasgow | ef96556 | 2012-04-10 16:12:35 -0400 | [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 | c45688b | 2014-07-02 23:50:45 -0700 | [diff] [blame] | 5 | #ifndef SHILL_MOCK_MM1_MODEM_MODEMCDMA_PROXY_H_ |
| 6 | #define SHILL_MOCK_MM1_MODEM_MODEMCDMA_PROXY_H_ |
Jason Glasgow | ef96556 | 2012-04-10 16:12:35 -0400 | [diff] [blame] | 7 | |
| 8 | #include <string> |
| 9 | |
Ben Chan | cc67c52 | 2014-09-03 07:19:18 -0700 | [diff] [blame] | 10 | #include <base/macros.h> |
Jason Glasgow | ef96556 | 2012-04-10 16:12:35 -0400 | [diff] [blame] | 11 | #include <gmock/gmock.h> |
| 12 | |
| 13 | #include "shill/mm1_modem_modemcdma_proxy_interface.h" |
| 14 | |
| 15 | namespace shill { |
| 16 | namespace mm1 { |
| 17 | |
| 18 | class MockModemModemCdmaProxy : public ModemModemCdmaProxyInterface { |
| 19 | public: |
| 20 | MockModemModemCdmaProxy(); |
Ben Chan | 5ea763b | 2014-08-13 11:07:54 -0700 | [diff] [blame] | 21 | ~MockModemModemCdmaProxy() override; |
Jason Glasgow | ef96556 | 2012-04-10 16:12:35 -0400 | [diff] [blame] | 22 | |
| 23 | MOCK_METHOD4(Activate, void( |
| 24 | const std::string &carrier, |
| 25 | Error *error, |
| 26 | const ResultCallback &callback, |
| 27 | int timeout)); |
| 28 | |
| 29 | MOCK_METHOD4(ActivateManual, void( |
| 30 | const DBusPropertiesMap &properties, |
| 31 | Error *error, |
| 32 | const ResultCallback &callback, |
| 33 | int timeout)); |
| 34 | |
| 35 | MOCK_METHOD1(set_activation_state_callback, |
| 36 | void(const ActivationStateSignalCallback &callback)); |
| 37 | |
Jason Glasgow | ef96556 | 2012-04-10 16:12:35 -0400 | [diff] [blame] | 38 | private: |
| 39 | DISALLOW_COPY_AND_ASSIGN(MockModemModemCdmaProxy); |
| 40 | }; |
| 41 | |
| 42 | } // namespace mm1 |
| 43 | } // namespace shill |
| 44 | |
Ben Chan | c45688b | 2014-07-02 23:50:45 -0700 | [diff] [blame] | 45 | #endif // SHILL_MOCK_MM1_MODEM_MODEMCDMA_PROXY_H_ |