On 19 November 2014 20:13, Stefan Dösinger stefan@codeweavers.com wrote:
@@ -2189,6 +2189,13 @@ static LRESULT CALLBACK test_proc(HWND hwnd, UINT message, WPARAM wparam, LPARAM } }
- if (unexpected_messages)
- {
const struct message *i;
for (i = unexpected_messages; i->message; i++)
ok(i->message != message, "Got unexpected message %x on window %p.\n", message, hwnd);
Note that putting the ok() in test_proc() makes it hard to find the actual test that failed.