Modify stub call parameters' values

FrancescaFrancesca Posts: 1

I have a stub function like this:
stub_func(uint8_t * data);
(this is an output parameter).
I need to modify the parameter in a unit test. I tried to set the value in this way:
uint8_t ptrData[] = {0x1, 0x0, 0x1, 0x4};
but I don't see the correct values in the stub.

Sign In or Register to comment.