user32/tests: Add optional messages to test sequences.
Fix a possible test failure on Win10 2009. Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
068cf6f02c
commit
a11ffeec96
|
@ -5412,7 +5412,7 @@ static void test_messages(void)
|
||||||
{
|
{
|
||||||
ShowWindow(hwnd, SW_RESTORE);
|
ShowWindow(hwnd, SW_RESTORE);
|
||||||
flush_events();
|
flush_events();
|
||||||
ok_sequence(WmShowRestoreMinOverlappedSeq, "ShowWindow(SW_RESTORE):overlapped", TRUE);
|
ok_sequence(WmShowRestoreMinOverlappedSeq, "ShowWindow(SW_RESTORE):overlapped", FALSE);
|
||||||
flush_sequence();
|
flush_sequence();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -13917,6 +13917,7 @@ static const struct message WmCreateDialogParamSeq_1[] = {
|
||||||
{ WM_QUERYNEWPALETTE, sent|optional },
|
{ WM_QUERYNEWPALETTE, sent|optional },
|
||||||
{ WM_PALETTEISCHANGING, sent|optional },
|
{ WM_PALETTEISCHANGING, sent|optional },
|
||||||
{ WM_WINDOWPOSCHANGING, sent|wparam|optional, SWP_NOSIZE|SWP_NOMOVE },
|
{ 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_ACTIVATEAPP, sent|wparam, 1 },
|
||||||
{ WM_NCACTIVATE, sent },
|
{ WM_NCACTIVATE, sent },
|
||||||
{ WM_ACTIVATE, sent|wparam, 1 },
|
{ WM_ACTIVATE, sent|wparam, 1 },
|
||||||
|
|
Loading…
Reference in New Issue