[v6 4/6] user32: Add WM_NCPAINT tests for windows crossing screen or maximized

Alexandre Julliard julliard at winehq.org
Mon Feb 13 07:46:55 CST 2017


Fabian Maurer <dark.shadow4 at web.de> writes:

> @@ -4580,6 +4643,18 @@ static void test_showwindow(void)
>      DestroyWindow(hwnd);
>      flush_sequence();
>  
> +    /* Test again, this time the NC_PAINT message */
> +    hwnd = CreateWindowExA(0, "TestWindowClass", "Test popup", WS_POPUP | WS_MAXIMIZE,
> +                           100, 100, 200, 200, 0, 0, 0, NULL);
> +    ok (hwnd != 0, "Failed to create popup window\n");
> +    SetWindowPos(hwnd, 0, 10, 10, 200, 200, SWP_NOZORDER | SWP_NOACTIVATE);
> +    flush_sequence();
> +    ShowWindow(hwnd, SW_SHOWMAXIMIZED);
> +    ok_sequence(WmShowMaxPopupResizedSeq_todo,
> +            "ShowWindow(SW_SHOWMAXIMIZED):invisible maximized and resized popup TODO", TRUE);
> +    DestroyWindow(hwnd);
> +    flush_sequence();

This one is already succeeding here:

../../../tools/runtest -q -P wine -T ../../.. -M user32.dll -p user32_test.exe.so msg && touch msg.ok
msg.c:4654: Test succeeded inside todo block: ShowWindow(SW_SHOWMAXIMIZED):invisible maximized and resized popup TODO: marked "todo_wine" but succeeds
msg.c:13361: Tests skipped: Skipping DBCS WM_CHAR test in SBCS codepage 'ANSI Latin 1'
msg.c:13677: Tests skipped: Unable to load Greek keyboard layout
Makefile:482: recipe for target 'msg.ok' failed

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list