Beautifying of Unicode mode check in tests
Andriy Palamarchuk
apa3a at yahoo.com
Wed Jan 23 12:48:44 CST 2002
--- Alexandre Julliard <julliard at winehq.com> wrote:
> Andriy Palamarchuk <apa3a at yahoo.com> writes:
> > Are we going to make Wine to confirm MS
> > implementations to up to this level?
>
> No but we don't have to if the test is done right.
> Something like:
>
> ret = fooW(...);
> if (!ret) /* failed */
> ok( GetLastError() == ERROR_CALL_NOT_IMPLEMENTED
> );
> else /* success */
> ok( check for successful result );
>
> This will work on all platforms, no matter whether
> they support
> Unicode or not.
Do you suggest to do this for each W call? Isn't it
too difficult, even if we are going to wrap the call
in some macro, like:
CHECK_UNICODE( fooW(...) ):
ok( check for successful result );
Andriy Palamarchuk
__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/
More information about the wine-devel
mailing list