Connor McAdams : user32/tests: Fix missing messages in test_mdi_messages() message sequences.
Alexandre Julliard
julliard at winehq.org
Mon Sep 20 16:26:22 CDT 2021
Module: wine
Branch: master
Commit: 7f6d723e50ab841b0f6ffc32778f14cbc38db109
URL: https://source.winehq.org/git/wine.git/?a=commit;h=7f6d723e50ab841b0f6ffc32778f14cbc38db109
Author: Connor McAdams <cmcadams at codeweavers.com>
Date: Sat Sep 18 21:39:50 2021 -0400
user32/tests: Fix missing messages in test_mdi_messages() message sequences.
Signed-off-by: Connor McAdams <cmcadams at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/user32/tests/msg.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c
index f845286b850..ee1f5ced292 100644
--- a/dlls/user32/tests/msg.c
+++ b/dlls/user32/tests/msg.c
@@ -3389,6 +3389,7 @@ static const struct message WmCreateMDIchildVisibleMaxSeq3[] = {
{ 0x0093, sent|optional },
{ EVENT_OBJECT_LOCATIONCHANGE, winevent_hook|wparam|lparam|winevent_hook_todo, 0, 0 }, /* MDI child */
{ EVENT_OBJECT_LOCATIONCHANGE, winevent_hook|wparam|lparam|optional, 0, 0 }, /* MDI client, not sent on Win7. */
+ { 0x0093, sent|optional }, /* Win8+ sends an extra. */
{ WM_NCCALCSIZE, sent|wparam|optional, 1 }, /* XP sends it to MDI frame */
{ 0x0093, sent|defwinproc|optional },
{ 0x0093, sent|defwinproc|optional },
@@ -3617,6 +3618,7 @@ static const struct message WmDestroyMDIchildVisibleMaxSeq1[] = {
{ EVENT_OBJECT_LOCATIONCHANGE, winevent_hook|wparam|lparam|winevent_hook_todo, 0, 0 }, /* MDI child */
{ EVENT_OBJECT_LOCATIONCHANGE, winevent_hook|wparam|lparam|winevent_hook_todo, 0, 0 }, /* MDI client */
{ EVENT_OBJECT_LOCATIONCHANGE, winevent_hook|wparam|lparam|optional, 0, 0 }, /* MDI frame */
+ { 0x0093, sent|optional }, /* Win8+ sends an extra. */
{ EVENT_OBJECT_LOCATIONCHANGE, winevent_hook|wparam|lparam|optional, 0, 0 }, /* XP sends a duplicate */
/* in MDI frame */
@@ -3626,6 +3628,7 @@ static const struct message WmDestroyMDIchildVisibleMaxSeq1[] = {
{ 0x0093, sent|defwinproc|optional },
{ 0x0093, sent|defwinproc|optional },
{ WM_WINDOWPOSCHANGED, sent|wparam|optional, SWP_FRAMECHANGED|SWP_NOACTIVATE|SWP_NOSIZE|SWP_NOMOVE|SWP_NOCLIENTSIZE|SWP_NOCLIENTMOVE },
+ { 0x0093, sent|optional }, /* Win8+ sends an extra. */
{ EVENT_OBJECT_LOCATIONCHANGE, winevent_hook|wparam|lparam|winevent_hook_todo, 0, 0 }, /* MDI frame */
{ 0x0093, sent|optional },
@@ -18483,6 +18486,7 @@ START_TEST(msg)
test_setwindowpos();
test_showwindow();
invisible_parent_tests();
+ test_mdi_messages();
/* Fix message sequences before removing 4 lines below */
if (pUnhookWinEvent && hEvent_hook)
@@ -18493,7 +18497,6 @@ START_TEST(msg)
}
hEvent_hook = 0;
- test_mdi_messages();
test_button_messages();
test_button_bm_get_set_image();
test_button_style();
More information about the wine-cvs
mailing list