1 /* AUTOGENERATED FILE. DO NOT EDIT. */
2 #ifndef _MOCKFWK_STRING_H
3 #define _MOCKFWK_STRING_H
4 
5 #include "unity.h"
6 #include "fwk_string.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 Mockfwk_string_Init(void);
21 void Mockfwk_string_Destroy(void);
22 void Mockfwk_string_Verify(void);
23 
24 
25 
26 
27 #define fwk_str_memset_Ignore() fwk_str_memset_CMockIgnore()
28 void fwk_str_memset_CMockIgnore(void);
29 #define fwk_str_memset_StopIgnore() fwk_str_memset_CMockStopIgnore()
30 void fwk_str_memset_CMockStopIgnore(void);
31 #define fwk_str_memset_ExpectAnyArgs() fwk_str_memset_CMockExpectAnyArgs(__LINE__)
32 void fwk_str_memset_CMockExpectAnyArgs(UNITY_LINE_TYPE cmock_line);
33 #define fwk_str_memset_Expect(dest, ch, count) fwk_str_memset_CMockExpect(__LINE__, dest, ch, count)
34 void fwk_str_memset_CMockExpect(UNITY_LINE_TYPE cmock_line, void* dest, int ch, size_t count);
35 typedef void (* CMOCK_fwk_str_memset_CALLBACK)(void* dest, int ch, size_t count, int cmock_num_calls);
36 void fwk_str_memset_AddCallback(CMOCK_fwk_str_memset_CALLBACK Callback);
37 void fwk_str_memset_Stub(CMOCK_fwk_str_memset_CALLBACK Callback);
38 #define fwk_str_memset_StubWithCallback fwk_str_memset_Stub
39 #define fwk_str_memset_ExpectWithArray(dest, dest_Depth, ch, count) fwk_str_memset_CMockExpectWithArray(__LINE__, dest, dest_Depth, ch, count)
40 void fwk_str_memset_CMockExpectWithArray(UNITY_LINE_TYPE cmock_line, void* dest, int dest_Depth, int ch, size_t count);
41 #define fwk_str_memset_ReturnThruPtr_dest(dest) fwk_str_memset_CMockReturnMemThruPtr_dest(__LINE__, dest, sizeof(void))
42 #define fwk_str_memset_ReturnArrayThruPtr_dest(dest, cmock_len) fwk_str_memset_CMockReturnMemThruPtr_dest(__LINE__, dest, cmock_len * sizeof(*dest))
43 #define fwk_str_memset_ReturnMemThruPtr_dest(dest, cmock_size) fwk_str_memset_CMockReturnMemThruPtr_dest(__LINE__, dest, cmock_size)
44 void fwk_str_memset_CMockReturnMemThruPtr_dest(UNITY_LINE_TYPE cmock_line, void* dest, size_t cmock_size);
45 #define fwk_str_memset_IgnoreArg_dest() fwk_str_memset_CMockIgnoreArg_dest(__LINE__)
46 void fwk_str_memset_CMockIgnoreArg_dest(UNITY_LINE_TYPE cmock_line);
47 #define fwk_str_memset_IgnoreArg_ch() fwk_str_memset_CMockIgnoreArg_ch(__LINE__)
48 void fwk_str_memset_CMockIgnoreArg_ch(UNITY_LINE_TYPE cmock_line);
49 #define fwk_str_memset_IgnoreArg_count() fwk_str_memset_CMockIgnoreArg_count(__LINE__)
50 void fwk_str_memset_CMockIgnoreArg_count(UNITY_LINE_TYPE cmock_line);
51 #define fwk_str_memcpy_Ignore() fwk_str_memcpy_CMockIgnore()
52 void fwk_str_memcpy_CMockIgnore(void);
53 #define fwk_str_memcpy_StopIgnore() fwk_str_memcpy_CMockStopIgnore()
54 void fwk_str_memcpy_CMockStopIgnore(void);
55 #define fwk_str_memcpy_ExpectAnyArgs() fwk_str_memcpy_CMockExpectAnyArgs(__LINE__)
56 void fwk_str_memcpy_CMockExpectAnyArgs(UNITY_LINE_TYPE cmock_line);
57 #define fwk_str_memcpy_Expect(dest, src, count) fwk_str_memcpy_CMockExpect(__LINE__, dest, src, count)
58 void fwk_str_memcpy_CMockExpect(UNITY_LINE_TYPE cmock_line, void* dest, const void* src, size_t count);
59 typedef void (* CMOCK_fwk_str_memcpy_CALLBACK)(void* dest, const void* src, size_t count, int cmock_num_calls);
60 void fwk_str_memcpy_AddCallback(CMOCK_fwk_str_memcpy_CALLBACK Callback);
61 void fwk_str_memcpy_Stub(CMOCK_fwk_str_memcpy_CALLBACK Callback);
62 #define fwk_str_memcpy_StubWithCallback fwk_str_memcpy_Stub
63 #define fwk_str_memcpy_ExpectWithArray(dest, dest_Depth, src, src_Depth, count) fwk_str_memcpy_CMockExpectWithArray(__LINE__, dest, dest_Depth, src, src_Depth, count)
64 void fwk_str_memcpy_CMockExpectWithArray(UNITY_LINE_TYPE cmock_line, void* dest, int dest_Depth, const void* src, int src_Depth, size_t count);
65 #define fwk_str_memcpy_ReturnThruPtr_dest(dest) fwk_str_memcpy_CMockReturnMemThruPtr_dest(__LINE__, dest, sizeof(void))
66 #define fwk_str_memcpy_ReturnArrayThruPtr_dest(dest, cmock_len) fwk_str_memcpy_CMockReturnMemThruPtr_dest(__LINE__, dest, cmock_len * sizeof(*dest))
67 #define fwk_str_memcpy_ReturnMemThruPtr_dest(dest, cmock_size) fwk_str_memcpy_CMockReturnMemThruPtr_dest(__LINE__, dest, cmock_size)
68 void fwk_str_memcpy_CMockReturnMemThruPtr_dest(UNITY_LINE_TYPE cmock_line, void* dest, size_t cmock_size);
69 #define fwk_str_memcpy_IgnoreArg_dest() fwk_str_memcpy_CMockIgnoreArg_dest(__LINE__)
70 void fwk_str_memcpy_CMockIgnoreArg_dest(UNITY_LINE_TYPE cmock_line);
71 #define fwk_str_memcpy_IgnoreArg_src() fwk_str_memcpy_CMockIgnoreArg_src(__LINE__)
72 void fwk_str_memcpy_CMockIgnoreArg_src(UNITY_LINE_TYPE cmock_line);
73 #define fwk_str_memcpy_IgnoreArg_count() fwk_str_memcpy_CMockIgnoreArg_count(__LINE__)
74 void fwk_str_memcpy_CMockIgnoreArg_count(UNITY_LINE_TYPE cmock_line);
75 #define fwk_str_strncpy_Ignore() fwk_str_strncpy_CMockIgnore()
76 void fwk_str_strncpy_CMockIgnore(void);
77 #define fwk_str_strncpy_StopIgnore() fwk_str_strncpy_CMockStopIgnore()
78 void fwk_str_strncpy_CMockStopIgnore(void);
79 #define fwk_str_strncpy_ExpectAnyArgs() fwk_str_strncpy_CMockExpectAnyArgs(__LINE__)
80 void fwk_str_strncpy_CMockExpectAnyArgs(UNITY_LINE_TYPE cmock_line);
81 #define fwk_str_strncpy_Expect(dest, src, count) fwk_str_strncpy_CMockExpect(__LINE__, dest, src, count)
82 void fwk_str_strncpy_CMockExpect(UNITY_LINE_TYPE cmock_line, char* dest, const char* src, size_t count);
83 typedef void (* CMOCK_fwk_str_strncpy_CALLBACK)(char* dest, const char* src, size_t count, int cmock_num_calls);
84 void fwk_str_strncpy_AddCallback(CMOCK_fwk_str_strncpy_CALLBACK Callback);
85 void fwk_str_strncpy_Stub(CMOCK_fwk_str_strncpy_CALLBACK Callback);
86 #define fwk_str_strncpy_StubWithCallback fwk_str_strncpy_Stub
87 #define fwk_str_strncpy_ReturnThruPtr_dest(dest) fwk_str_strncpy_CMockReturnMemThruPtr_dest(__LINE__, dest, sizeof(char))
88 #define fwk_str_strncpy_ReturnArrayThruPtr_dest(dest, cmock_len) fwk_str_strncpy_CMockReturnMemThruPtr_dest(__LINE__, dest, cmock_len * sizeof(*dest))
89 #define fwk_str_strncpy_ReturnMemThruPtr_dest(dest, cmock_size) fwk_str_strncpy_CMockReturnMemThruPtr_dest(__LINE__, dest, cmock_size)
90 void fwk_str_strncpy_CMockReturnMemThruPtr_dest(UNITY_LINE_TYPE cmock_line, char* dest, size_t cmock_size);
91 #define fwk_str_strncpy_IgnoreArg_dest() fwk_str_strncpy_CMockIgnoreArg_dest(__LINE__)
92 void fwk_str_strncpy_CMockIgnoreArg_dest(UNITY_LINE_TYPE cmock_line);
93 #define fwk_str_strncpy_IgnoreArg_src() fwk_str_strncpy_CMockIgnoreArg_src(__LINE__)
94 void fwk_str_strncpy_CMockIgnoreArg_src(UNITY_LINE_TYPE cmock_line);
95 #define fwk_str_strncpy_IgnoreArg_count() fwk_str_strncpy_CMockIgnoreArg_count(__LINE__)
96 void fwk_str_strncpy_CMockIgnoreArg_count(UNITY_LINE_TYPE cmock_line);
97 
98 #if defined(__GNUC__) && !defined(__ICC) && !defined(__TMS470__)
99 #if __GNUC__ > 4 || (__GNUC__ == 4 && (__GNUC_MINOR__ > 6 || (__GNUC_MINOR__ == 6 && __GNUC_PATCHLEVEL__ > 0)))
100 #pragma GCC diagnostic pop
101 #endif
102 #endif
103 
104 #endif
105