C testing framework. ASCII/Unicode portable version
apa3a at yahoo.com
Tue Jan 22 14:58:13 CST 2002
--- Alexandre Julliard <julliard at winehq.com> wrote:
> If all you want is to call the function with some
> random string, then
> you don't really need to call both A and W since
> they usually use the
> same code anyway. So just call the A function and
> you will have tested
> as much (or as little) of the W function that you
> would have by
> recompiling the TCHAR code as Unicode, while
> avoiding the whole macro
Alexandre, one time you were saying than W and A
functions can't be tested by the same code because
they are completely different.
Now you are saying that we don't need to test W
function because they are no more than conversion to
ASCII, calling A function, converting results back to
Unicode and it is sufficient to test A function and
check the conversions.
Using TCHAR insures that A and W functions have the
Why you are against using the same code for this and
using encoding-specific code to check the differences?
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
More information about the wine-devel