-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmock_modem_helper.h
41 lines (32 loc) · 1.03 KB
/
mock_modem_helper.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// Copyright 2018 The ChromiumOS Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef MODEMFWD_MOCK_MODEM_HELPER_H_
#define MODEMFWD_MOCK_MODEM_HELPER_H_
#include <string>
#include <vector>
#include <base/files/file_path.h>
#include <gmock/gmock.h>
#include "modemfwd/modem_helper.h"
namespace modemfwd {
class MockModemHelper : public ModemHelper {
public:
MockModemHelper() = default;
~MockModemHelper() override = default;
MOCK_METHOD(bool,
GetFirmwareInfo,
(FirmwareInfo*, const std::string&),
(override));
MOCK_METHOD(bool,
FlashFirmwares,
(const std::vector<FirmwareConfig>&),
(override));
MOCK_METHOD(bool, FlashModeCheck, (), (override));
MOCK_METHOD(bool, Reboot, (), (override));
MOCK_METHOD(bool,
ClearAttachAPN,
(const std::string& carrier_uuid),
(override));
};
} // namespace modemfwd
#endif // MODEMFWD_MOCK_MODEM_HELPER_H_