[PATCH 01/10] user32/tests: Added DefRawInputProc tests (try 15)

Alexandre Julliard julliard at winehq.org
Sat Jul 9 04:53:01 CDT 2011

"Vincas Miliūnas" <vincas.miliunas at gmail.com> writes:

> +    ret = pDefRawInputProc(&input, 0, sizeof(RAWINPUTHEADER));
> +    ok(ret == S_OK, "Given (&input, 0, sizeof), "
> +        "DefRawInputProc should acknowledge that no data was provided\n");
> +}

That's not really testing anything.

Also please avoid that sort of error message, describing the input is
useless, it's just noise that is going to bitrot. A simple
"DefRawInputProc returned %x" would be a lot more useful.

Alexandre Julliard
julliard at winehq.org

More information about the wine-devel mailing list