diff --git a/dlls/user32/tests/menu.c b/dlls/user32/tests/menu.c index 3e4cf93..91abfad 100644 --- a/dlls/user32/tests/menu.c +++ b/dlls/user32/tests/menu.c @@ -2046,7 +2046,7 @@ static struct menu_mouse_tests_s { { INPUT_KEYBOARD, {{0}}, {VK_MENU, 'M', 'P', 0}, TRUE, FALSE }, { INPUT_KEYBOARD, {{0}}, {'E', 0}, FALSE, FALSE }, { INPUT_KEYBOARD, {{0}}, {VK_F10, 0}, TRUE, FALSE }, - { INPUT_KEYBOARD, {{0}}, {VK_F10, 0}, FALSE, FALSE }, + { INPUT_KEYBOARD, {{0}}, {VK_F10, 0}, TRUE, FALSE }, { INPUT_MOUSE, {{1, 2}, {0}}, {0}, TRUE, TRUE }, /* test 20 */ { INPUT_MOUSE, {{1, 1}, {0}}, {0}, FALSE, FALSE }, @@ -2127,13 +2127,18 @@ static DWORD WINAPI test_menu_input_thread(LPVOID lpParameter) PostMessage( hWnd, WM_CANCELMODE, 0, 0 ); return 0; } + + printf("\ntest %d: Are we going to sleep?\n", i); while (menu_tests[i].bMenuVisible != bMenuVisible) { + printf("test %d: Yes, sleeping...\n", i); if (elapsed > 200) break; elapsed += 20; Sleep(20); } + printf("test %d: total sleeped time: %d\n", i, elapsed); + if (elapsed == 0) printf("WARNING! sleeped time is zero!\n\n"); if (!got_input) {