user32: Add test for ComboBox repositioning behavior (try 2).
Alexandre Julliard
julliard at winehq.org
Mon Jul 2 04:57:47 CDT 2012
Sergey Guralnik <serhio at etersoft.ru> writes:
> @@ -5807,6 +5814,13 @@ static void test_combobox_messages(void)
> log_all_parent_messages--;
> ok_sequence(WmKeyDownComboSeq, "WM_KEYDOWN/VK_DOWN on a ComboBox", FALSE);
>
> + SetWindowLongPtr(combo, GWLP_WNDPROC, (LONG_PTR)combobox_hook_proc_2);
> + SendMessage(combo, CB_SETCURSEL, 0, 0);
> + SetWindowPos(combo, 0, 0, 0, 120, 130, SWP_NOZORDER|SWP_NOMOVE);
> + ret = SendMessage(combo, CB_GETCURSEL, 0, 0);
> +todo_wine
> + ok(ret == 1, "expected 1, got %ld\n", ret);
> +
There's no reason to test just WM_SIZE when we have support for testing
full sequences. Once again, what are you trying to test?
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list