Do we have certain method to test static inline functions (defined in H file), WA (such wrapping it with macros and redefined them for the test only in c file ?
Example:
foo.h
------------------------------------------------------------------------------------------
static inline void hllo_unity(void) {
//do stuff
}
---------------------------------------------------------------------------------------------
I don't have foo.c since all my functions are inlined in the foo.h.
When i generate Testfoo_blabla.c which have tests function to test these inline functions and i try to compile with the standard unity make file (downloaded from uniy website),
I get: "no rule to make the text file"
When i omit the static inline and define these functions in foo.c , every thing work as expected!
Any suggestions ?