Module: wine Branch: master Commit: bb4e7832b4338d8c1431b28d150ae95ab45c0d0e URL: http://source.winehq.org/git/wine.git/?a=commit;h=bb4e7832b4338d8c1431b28d15...
Author: Dmitry Timoshkov dmitry@codeweavers.com Date: Tue Jun 24 17:48:08 2008 +0900
user32: Make test_SetForegroundWindow() the last message test.
---
dlls/user32/tests/msg.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c index f2f335f..390aca4 100644 --- a/dlls/user32/tests/msg.c +++ b/dlls/user32/tests/msg.c @@ -10840,9 +10840,12 @@ START_TEST(msg) test_sys_menu(); test_dialog_messages(); test_nullCallback(); - test_SetForegroundWindow(); test_dbcs_wm_char(); test_menu_messages(); + /* keep it the last test, under Windows it tends to break the tests + * which rely on active/foreground windows being correct. + */ + test_SetForegroundWindow();
UnhookWindowsHookEx(hCBT_hook); if (pUnhookWinEvent)