1 /* AUTOGENERATED FILE. DO NOT EDIT. */
2 #ifndef _MOCKMOD_THERMAL_MGMT_EXTRA_H
3 #define _MOCKMOD_THERMAL_MGMT_EXTRA_H
4 
5 #include "unity.h"
6 #include "mod_thermal_mgmt_extra.h"
7 
8 /* Ignore the following warnings, since we are copying code */
9 #if defined(__GNUC__) && !defined(__ICC) && !defined(__TMS470__)
10 #if __GNUC__ > 4 || (__GNUC__ == 4 && (__GNUC_MINOR__ > 6 || (__GNUC_MINOR__ == 6 && __GNUC_PATCHLEVEL__ > 0)))
11 #pragma GCC diagnostic push
12 #endif
13 #if !defined(__clang__)
14 #pragma GCC diagnostic ignored "-Wpragmas"
15 #endif
16 #pragma GCC diagnostic ignored "-Wunknown-pragmas"
17 #pragma GCC diagnostic ignored "-Wduplicate-decl-specifier"
18 #endif
19 
20 void Mockmod_thermal_mgmt_extra_Init(void);
21 void Mockmod_thermal_mgmt_extra_Destroy(void);
22 void Mockmod_thermal_mgmt_extra_Verify(void);
23 
24 
25 
26 
27 #define mod_thermal_mgmt_protection_api_warning_ExpectAnyArgs() mod_thermal_mgmt_protection_api_warning_CMockExpectAnyArgs(__LINE__)
28 void mod_thermal_mgmt_protection_api_warning_CMockExpectAnyArgs(UNITY_LINE_TYPE cmock_line);
29 #define mod_thermal_mgmt_protection_api_warning_Expect(driver_id, thermal_id) mod_thermal_mgmt_protection_api_warning_CMockExpect(__LINE__, driver_id, thermal_id)
30 void mod_thermal_mgmt_protection_api_warning_CMockExpect(UNITY_LINE_TYPE cmock_line, fwk_id_t driver_id, fwk_id_t thermal_id);
31 typedef void (* CMOCK_mod_thermal_mgmt_protection_api_warning_CALLBACK)(fwk_id_t driver_id, fwk_id_t thermal_id, int cmock_num_calls);
32 void mod_thermal_mgmt_protection_api_warning_AddCallback(CMOCK_mod_thermal_mgmt_protection_api_warning_CALLBACK Callback);
33 void mod_thermal_mgmt_protection_api_warning_Stub(CMOCK_mod_thermal_mgmt_protection_api_warning_CALLBACK Callback);
34 #define mod_thermal_mgmt_protection_api_warning_StubWithCallback mod_thermal_mgmt_protection_api_warning_Stub
35 #define mod_thermal_mgmt_protection_api_critical_ExpectAnyArgs() mod_thermal_mgmt_protection_api_critical_CMockExpectAnyArgs(__LINE__)
36 void mod_thermal_mgmt_protection_api_critical_CMockExpectAnyArgs(UNITY_LINE_TYPE cmock_line);
37 #define mod_thermal_mgmt_protection_api_critical_Expect(driver_id, thermal_id) mod_thermal_mgmt_protection_api_critical_CMockExpect(__LINE__, driver_id, thermal_id)
38 void mod_thermal_mgmt_protection_api_critical_CMockExpect(UNITY_LINE_TYPE cmock_line, fwk_id_t driver_id, fwk_id_t thermal_id);
39 typedef void (* CMOCK_mod_thermal_mgmt_protection_api_critical_CALLBACK)(fwk_id_t driver_id, fwk_id_t thermal_id, int cmock_num_calls);
40 void mod_thermal_mgmt_protection_api_critical_AddCallback(CMOCK_mod_thermal_mgmt_protection_api_critical_CALLBACK Callback);
41 void mod_thermal_mgmt_protection_api_critical_Stub(CMOCK_mod_thermal_mgmt_protection_api_critical_CALLBACK Callback);
42 #define mod_thermal_mgmt_protection_api_critical_StubWithCallback mod_thermal_mgmt_protection_api_critical_Stub
43 #define mod_sensor_get_data_ExpectAnyArgsAndReturn(cmock_retval) mod_sensor_get_data_CMockExpectAnyArgsAndReturn(__LINE__, cmock_retval)
44 void mod_sensor_get_data_CMockExpectAnyArgsAndReturn(UNITY_LINE_TYPE cmock_line, int cmock_to_return);
45 #define mod_sensor_get_data_ExpectAndReturn(id, data, cmock_retval) mod_sensor_get_data_CMockExpectAndReturn(__LINE__, id, data, cmock_retval)
46 void mod_sensor_get_data_CMockExpectAndReturn(UNITY_LINE_TYPE cmock_line, fwk_id_t id, struct mod_sensor_data* data, int cmock_to_return);
47 typedef int (* CMOCK_mod_sensor_get_data_CALLBACK)(fwk_id_t id, struct mod_sensor_data* data, int cmock_num_calls);
48 void mod_sensor_get_data_AddCallback(CMOCK_mod_sensor_get_data_CALLBACK Callback);
49 void mod_sensor_get_data_Stub(CMOCK_mod_sensor_get_data_CALLBACK Callback);
50 #define mod_sensor_get_data_StubWithCallback mod_sensor_get_data_Stub
51 #define mod_sensor_get_data_ExpectWithArrayAndReturn(id, data, data_Depth, cmock_retval) mod_sensor_get_data_CMockExpectWithArrayAndReturn(__LINE__, id, data, data_Depth, cmock_retval)
52 void mod_sensor_get_data_CMockExpectWithArrayAndReturn(UNITY_LINE_TYPE cmock_line, fwk_id_t id, struct mod_sensor_data* data, int data_Depth, int cmock_to_return);
53 #define mod_sensor_get_data_ReturnThruPtr_data(data) mod_sensor_get_data_CMockReturnMemThruPtr_data(__LINE__, data, sizeof(struct mod_sensor_data))
54 #define mod_sensor_get_data_ReturnArrayThruPtr_data(data, cmock_len) mod_sensor_get_data_CMockReturnMemThruPtr_data(__LINE__, data, cmock_len * sizeof(*data))
55 #define mod_sensor_get_data_ReturnMemThruPtr_data(data, cmock_size) mod_sensor_get_data_CMockReturnMemThruPtr_data(__LINE__, data, cmock_size)
56 void mod_sensor_get_data_CMockReturnMemThruPtr_data(UNITY_LINE_TYPE cmock_line, struct mod_sensor_data* data, size_t cmock_size);
57 #define distribute_power_ExpectAnyArgs() distribute_power_CMockExpectAnyArgs(__LINE__)
58 void distribute_power_CMockExpectAnyArgs(UNITY_LINE_TYPE cmock_line);
59 #define distribute_power_Expect(id, perf_request, perf_limit) distribute_power_CMockExpect(__LINE__, id, perf_request, perf_limit)
60 void distribute_power_CMockExpect(UNITY_LINE_TYPE cmock_line, fwk_id_t id, uint32_t* perf_request, uint32_t* perf_limit);
61 typedef void (* CMOCK_distribute_power_CALLBACK)(fwk_id_t id, uint32_t* perf_request, uint32_t* perf_limit, int cmock_num_calls);
62 void distribute_power_AddCallback(CMOCK_distribute_power_CALLBACK Callback);
63 void distribute_power_Stub(CMOCK_distribute_power_CALLBACK Callback);
64 #define distribute_power_StubWithCallback distribute_power_Stub
65 #define distribute_power_ExpectWithArray(id, perf_request, perf_request_Depth, perf_limit, perf_limit_Depth) distribute_power_CMockExpectWithArray(__LINE__, id, perf_request, perf_request_Depth, perf_limit, perf_limit_Depth)
66 void distribute_power_CMockExpectWithArray(UNITY_LINE_TYPE cmock_line, fwk_id_t id, uint32_t* perf_request, int perf_request_Depth, uint32_t* perf_limit, int perf_limit_Depth);
67 #define distribute_power_ReturnThruPtr_perf_request(perf_request) distribute_power_CMockReturnMemThruPtr_perf_request(__LINE__, perf_request, sizeof(uint32_t))
68 #define distribute_power_ReturnArrayThruPtr_perf_request(perf_request, cmock_len) distribute_power_CMockReturnMemThruPtr_perf_request(__LINE__, perf_request, cmock_len * sizeof(*perf_request))
69 #define distribute_power_ReturnMemThruPtr_perf_request(perf_request, cmock_size) distribute_power_CMockReturnMemThruPtr_perf_request(__LINE__, perf_request, cmock_size)
70 void distribute_power_CMockReturnMemThruPtr_perf_request(UNITY_LINE_TYPE cmock_line, uint32_t* perf_request, size_t cmock_size);
71 #define distribute_power_ReturnThruPtr_perf_limit(perf_limit) distribute_power_CMockReturnMemThruPtr_perf_limit(__LINE__, perf_limit, sizeof(uint32_t))
72 #define distribute_power_ReturnArrayThruPtr_perf_limit(perf_limit, cmock_len) distribute_power_CMockReturnMemThruPtr_perf_limit(__LINE__, perf_limit, cmock_len * sizeof(*perf_limit))
73 #define distribute_power_ReturnMemThruPtr_perf_limit(perf_limit, cmock_size) distribute_power_CMockReturnMemThruPtr_perf_limit(__LINE__, perf_limit, cmock_size)
74 void distribute_power_CMockReturnMemThruPtr_perf_limit(UNITY_LINE_TYPE cmock_line, uint32_t* perf_limit, size_t cmock_size);
75 
76 #if defined(__GNUC__) && !defined(__ICC) && !defined(__TMS470__)
77 #if __GNUC__ > 4 || (__GNUC__ == 4 && (__GNUC_MINOR__ > 6 || (__GNUC_MINOR__ == 6 && __GNUC_PATCHLEVEL__ > 0)))
78 #pragma GCC diagnostic pop
79 #endif
80 #endif
81 
82 #endif
83