[2/5] ddraw: Simplify and test DirectDrawEnumerateA.

Alexandre Julliard julliard at winehq.org
Thu Oct 8 07:38:09 CDT 2009


Andrew Nguyen <arethusa26 at gmail.com> writes:

> The tests for the following series of patches succeed on Windows XP
> and Windows 7. The crash code is borrowed from the timer callback
> crash test in commit f20f411925e789a2aecf740776f441335837ac5f.
> ---
>  dlls/ddraw/main.c            |    6 +-
>  dlls/ddraw/tests/Makefile.in |    1 +
>  dlls/ddraw/tests/ddrawenum.c |   99 ++++++++++++++++++++++++++++++++++++++++++
>  3 files changed, 103 insertions(+), 3 deletions(-)
>  create mode 100644 dlls/ddraw/tests/ddrawenum.c

It's a bit overkill to create a new file for testing just one
function. Please put this in an existing file, or create something more
generic.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list