|
From: Badea D. <bad...@ya...> - 2010-08-04 17:46:21
|
Hi all,
In my application framework all functions are returning error codes. Output data
is stored using pointers (out parameters). I saw there is a patch done by
Anthony Lineberry ("patch to add out param support in mocks - ID: 2446504")
addressing this issue but it's not present in the 1.0.0-beta2 release.
Is there a plan to integrate it in the official release any time soon?
Is there a workaround so i can mock output parameters?
Another issue is with input parameters that are not ints or pointers. Trying to
pass a structure to mock() results in a compile error. As a workaround I passed
the address of the structure to mock() but then I realized that there is no
want_...() variant for arrays.
Is there a want_...() function that accepts a custom compare function?
Thanks,
Daniel Badea
|