Zhiyi Zhang : user32/tests: Add optional messages to test sequences.
Alexandre Julliard
julliard at winehq.org
Mon Feb 22 15:43:22 CST 2021
Module: wine
Branch: master
Commit: a11ffeec96e5205d281862d9ff61d073e81576f8
URL: https://source.winehq.org/git/wine.git/?a=commit;h=a11ffeec96e5205d281862d9ff61d073e81576f8
Author: Zhiyi Zhang <zzhang at codeweavers.com>
Date: Mon Feb 22 21:39:32 2021 +0800
user32/tests: Add optional messages to test sequences.
Fix a possible test failure on Win10 2009.
Signed-off-by: Zhiyi Zhang <zzhang at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/user32/tests/msg.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c
index 11fb764e6cd..7eaa2c67945 100644
--- a/dlls/user32/tests/msg.c
+++ b/dlls/user32/tests/msg.c
@@ -5412,7 +5412,7 @@ static void test_messages(void)
{
ShowWindow(hwnd, SW_RESTORE);
flush_events();
- ok_sequence(WmShowRestoreMinOverlappedSeq, "ShowWindow(SW_RESTORE):overlapped", TRUE);
+ ok_sequence(WmShowRestoreMinOverlappedSeq, "ShowWindow(SW_RESTORE):overlapped", FALSE);
flush_sequence();
}
@@ -13917,6 +13917,7 @@ static const struct message WmCreateDialogParamSeq_1[] = {
{ WM_QUERYNEWPALETTE, sent|optional },
{ WM_PALETTEISCHANGING, sent|optional },
{ WM_WINDOWPOSCHANGING, sent|wparam|optional, SWP_NOSIZE|SWP_NOMOVE },
+ { WM_WINDOWPOSCHANGED, sent|wparam|optional, SWP_NOMOVE|SWP_NOSIZE|SWP_NOCLIENTSIZE|SWP_NOCLIENTMOVE|SWP_NOREDRAW },
{ WM_ACTIVATEAPP, sent|wparam, 1 },
{ WM_NCACTIVATE, sent },
{ WM_ACTIVATE, sent|wparam, 1 },
More information about the wine-cvs
mailing list