You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I working latest device updates sdk code and developed some own unit test for own customized part of code.
Unit test is acting for function which send message to cloud , so it has dependencies to another which is from azure-c-sdk.
To avoid error , i am using umock functionality and mocking dependencies using STRICT_CALL.
But getting error of umock.
Please help me out.
It looks like the portion where the MOCKABLE_FUNCTION declaration for IoTHubMessage_SetContentEncodingSystemProperty is not being picked up in the translation unit.
I can suggest 2 things:
Preprocess the translation unit so that you can see what the compiler will actually compile. Here is a SO entry on how to generate preprocessor output with gcc (seems like you have a gcc bacsed toolchain). https://stackoverflow.com/questions/3742822/preprocessor-output
Alternately if you want to attempt and spend some time to get a minimal repro to not package your entire project I could have a look also provided it's just a couple of steps to build your minimal repro.
Hi,
I working latest device updates sdk code and developed some own unit test for own customized part of code.
Unit test is acting for function which send message to cloud , so it has dependencies to another which is from azure-c-sdk.
To avoid error , i am using umock functionality and mocking dependencies using STRICT_CALL.
But getting error of umock.
Please help me out.
code :
Error while building
The text was updated successfully, but these errors were encountered: