GNOME Bugzilla – Bug 754283
gtestutils: add g_assert_cmpmem()
Last modified: 2015-08-31 18:19:20 UTC
Basically a copy of soup_assert_cmpmem() from libsoup/test/test-utils.h, and I know it could also be used in a bunch of places in NetworkManager (not to mention all the uses within glib seen here).
Created attachment 310251 [details] [review] gtestutils: add g_assert_cmpmem() Add a test macro to compare two buffers (which are not already known to be the same length) for equality.
Review of attachment 310251 [details] [review]: Looks great!
Attachment 310251 [details] pushed as 9f2e3f6 - gtestutils: add g_assert_cmpmem()