The most recent content from our members.
Hello, 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}; CPPTEST_ON_CALL("stub_func")->Arg("data")->Assign()->UCharRef(ptrData); but I don't see the…
It looks like you're new here. Sign in or register to get started.