Using A- instead of W-calls in tests

Alexandre Julliard julliard at winehq.org
Wed Apr 25 05:09:58 CDT 2007


"Paul Vriens" <paul.vriens.wine at gmail.com> writes:

> There are several tests where we use W-calls where we could use
> A-calls to accomplish the same test goal. Most of the time this means
> some of these will fail on Win9x or WinME as they are not by default
> Unicode enabled.
>
> Do we need write our tests with A-calls ? For Wine this doesn't matter
> if we're forwarding the call to a W-call. I do think it could matter
> on Windows or does Windows also do the forwarding?

When the call is simply forwarded it's OK to use the A version, since
that will test both. Under Windows it will probably be forwarded too,
and if it isn't and there are behavior differences then we would need
to have the test call both A and W versions anyway.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list