[PATCH] winsock-test.diff

Alexandre Julliard julliard at winehq.com
Wed Sep 4 13:57:59 CDT 2002


Martin Wilck <Martin.Wilck at Fujitsu-Siemens.com> writes:

> Rationale:
> - Make it easier to add new unit tests.
> - Conform better to the usual wine unit testing scheme 
>   (instead of running different tests from the same file,
>   run separate files testing different functionality)

That's not really the usual scheme. It may look that way because we
have few tests at the moment, but we can't put each test in a separate
file, or we will end up with thousands of them. The right approach is
to follow more or less the layout of the source files, that is if two
APIs are implemented in the same source file they should be tested in
the same test file; so I think the current winsock tests are OK as
they are. And in any case #including .c files is strongly discouraged.

-- 
Alexandre Julliard
julliard at winehq.com



More information about the wine-devel mailing list