[PATCH 1/2] user32/tests: Add tests for class small icons (try 3).

Alexandre Julliard julliard at winehq.org
Wed Sep 19 06:26:59 CDT 2012


Sergey Guralnik <serhio at etersoft.ru> writes:

> +todo_wine
> +    ok( hsmicon != NULL, "GetClassLong should return non-zero handle\n");
> +    for(i = 0; i < 100; i++)
> +        if(hsmicon != (HICON)GetClassLongPtrW(hwnd, GCLP_HICONSM))
> +        {
> +            ok(FALSE, "Always should return the same icon handle\n");
> +            break;
> +        }

This doesn't make sense, it's not going to return the same thing 99
times and then suddenly something different.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list