user32/tests: Add missing winevents to test_edit_messages() message sequences.

Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Connor McAdams 2021-09-22 21:01:51 -04:00 committed by Alexandre Julliard
parent 8502b6817f
commit 1e43edd800
1 changed files with 5 additions and 1 deletions

View File

@ -11862,7 +11862,10 @@ static const struct message sl_edit_invisible[] =
{ WM_IME_NOTIFY, sent|wparam|defwinproc|optional, 2 },
{ EVENT_OBJECT_FOCUS, winevent_hook|wparam|lparam|optional, OBJID_CLIENT, 0 }, /* Sent for IME. */
{ WM_KILLFOCUS, sent|parent },
{ EVENT_OBJECT_FOCUS, winevent_hook|wparam|lparam|winevent_hook_todo, OBJID_CLIENT, 0 },
{ WM_SETFOCUS, sent },
{ EVENT_OBJECT_CREATE, winevent_hook|wparam|lparam|winevent_hook_todo, OBJID_CARET, 0 },
{ EVENT_OBJECT_SHOW, winevent_hook|wparam|lparam|winevent_hook_todo, OBJID_CARET, 0 },
{ WM_COMMAND, sent|parent|wparam, MAKEWPARAM(ID_EDIT, EN_SETFOCUS) },
{ 0 }
};
@ -11877,6 +11880,7 @@ static const struct message ml_edit_setfocus[] =
{ WM_IME_NOTIFY, sent|wparam|defwinproc|optional, 11 },
{ EVENT_OBJECT_CREATE, winevent_hook|wparam|lparam|winevent_hook_todo, OBJID_CARET, 0 },
{ EVENT_OBJECT_SHOW, winevent_hook|wparam|lparam|winevent_hook_todo, OBJID_CARET, 0 },
{ EVENT_OBJECT_LOCATIONCHANGE, winevent_hook|wparam|lparam|optional, OBJID_CARET, 0 },
{ WM_COMMAND, sent|parent|wparam, MAKEWPARAM(ID_EDIT, EN_SETFOCUS) },
{ 0 }
};
@ -18551,6 +18555,7 @@ START_TEST(msg)
test_DestroyWindow();
test_DispatchMessage();
test_SendMessageTimeout();
test_edit_messages();
/* Fix message sequences before removing 4 lines below */
if (pUnhookWinEvent && hEvent_hook)
@ -18561,7 +18566,6 @@ START_TEST(msg)
}
hEvent_hook = 0;
test_edit_messages();
test_quit_message();
test_notify_message();
test_SetActiveWindow();