Connor McAdams : user32/tests: Add missing winevents to test_quit_message() message sequence.
Alexandre Julliard
julliard at winehq.org
Thu Sep 23 15:35:04 CDT 2021
Module: wine
Branch: master
Commit: 37b2e37edf0dc992fd7642c1ee88378e70870963
URL: https://source.winehq.org/git/wine.git/?a=commit;h=37b2e37edf0dc992fd7642c1ee88378e70870963
Author: Connor McAdams <cmcadams at codeweavers.com>
Date: Wed Sep 22 21:01:52 2021 -0400
user32/tests: Add missing winevents to test_quit_message() message sequence.
Signed-off-by: Connor McAdams <cmcadams at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/user32/tests/msg.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c
index 53bd2068348..cda14b7275d 100644
--- a/dlls/user32/tests/msg.c
+++ b/dlls/user32/tests/msg.c
@@ -12918,11 +12918,14 @@ static INT_PTR CALLBACK wm_quit_dlg_proc(HWND hwnd, UINT message, WPARAM wp, LPA
static const struct message WmQuitDialogSeq[] = {
{ HCBT_CREATEWND, hook },
+ { EVENT_OBJECT_CREATE, winevent_hook|wparam|lparam|winevent_hook_todo, 0, 0 },
{ WM_SETFONT, sent },
{ WM_INITDIALOG, sent },
{ WM_CHANGEUISTATE, sent|optional },
+ { EVENT_SYSTEM_DIALOGEND, winevent_hook|wparam|lparam|winevent_hook_todo, 0, 0 },
{ HCBT_DESTROYWND, hook },
{ 0x0090, sent|optional }, /* Vista */
+ { EVENT_OBJECT_DESTROY, winevent_hook|wparam|lparam|winevent_hook_todo, 0, 0 },
{ WM_DESTROY, sent },
{ WM_NCDESTROY, sent },
{ 0 }
@@ -18556,6 +18559,8 @@ START_TEST(msg)
test_DispatchMessage();
test_SendMessageTimeout();
test_edit_messages();
+ test_quit_message();
+ test_notify_message();
/* Fix message sequences before removing 4 lines below */
if (pUnhookWinEvent && hEvent_hook)
@@ -18566,8 +18571,6 @@ START_TEST(msg)
}
hEvent_hook = 0;
- test_quit_message();
- test_notify_message();
test_SetActiveWindow();
test_restore_messages();
test_invalid_window();
More information about the wine-cvs
mailing list