From 184aeeeeefc4fd2e3a6eb4884c65bda3823bfc04 Mon Sep 17 00:00:00 2001 From: Giannis Adamopoulos Date: Fri, 23 Sep 2011 16:04:17 +0000 Subject: [PATCH] [user32_apitest] - add back showing the index of the message when comparing massage logs svn path=/trunk/; revision=53815 --- rostests/apitests/user32/helper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rostests/apitests/user32/helper.c b/rostests/apitests/user32/helper.c index 624ea02d6c9..fa57449ea41 100644 --- a/rostests/apitests/user32/helper.c +++ b/rostests/apitests/user32/helper.c @@ -85,7 +85,7 @@ void trace_cache(const char* file, int line) for (i=0; i < message_cache_size; i++) { sprintf_msg_entry(buff, &message_cache[i]); - trace_(file,line)("%s\n", buff); + trace_(file,line)("%d: %s\n", i, buff); } trace_(file,line)("\n"); } @@ -102,7 +102,7 @@ void compare_cache(const char* file, int line, MSG_ENTRY *msg_chain) sprintf_msg_entry(buffGot, &message_cache[i]); sprintf_msg_entry(buffExp, msg_chain); - ok_(file,line)(same,"got %s, expected %s\n", buffGot, buffExp); + ok_(file,line)(same,"%d: got %s, expected %s\n",i, buffGot, buffExp); if(!got_error && !same) got_error = TRUE;