umock-c icon indicating copy to clipboard operation
umock-c copied to clipboard

Actual calls do not look nice

Open anporumb opened this issue 7 years ago • 1 comments

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

anporumb avatar Mar 29 '18 20:03 anporumb

shameless bump

anporumb avatar May 01 '19 14:05 anporumb