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.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Am 2014-11-20 11:35, schrieb Henri Verbeet:
I'm working on a test to show that we should set device->filter_messages = TRUE around the ShowWindow(SW_MINIMIZE) call. I'll change this when adding this test.