umock-c
umock-c copied to clipboard
Actual calls do not look nice
When using .ValidateArgumentBuffer(...) this is what is on the screen when it happen to fail validation:
Expected: [bsdl_metadata_write_async(0000000000000001,[0x00 0x50 0x00 0x00 0x00 0x00 0x00 0x00 0x02 0x00 0x00 0x00 0x00 0x00 0x00 0x00],0000000000000000,0000000000000000)]
Actual: [bsdl_metadata_write_async(0000000000000001,000002630F9BFEB0,00007FF72BA8B980,000002630F9D3080)]
Note how the expected is nicely showing the buffer as an array, while the Actual call shows a pointer.
Proposal is to have Actual call show an array too, because that gives some insight of "what doesn't match".
Best Regards, Andrei Porumb
shameless bump