Question on Conformance Test
Austin English
austinenglish at gmail.com
Wed Apr 27 11:05:59 CDT 2011
On Tue, Apr 26, 2011 at 22:50, James McKenzie <jjmckenzie51 at gmail.com> wrote:
> All:
>
> I am writing a conformance test for the richedit function EM_FINDWORDBREAK.
> I realize that WindowsNT 4.0 is our base configuration and most of the
> values process the same. However, a couple of values process differently
> for Windows NT 4.0/Windows2000, WindowsXP/Windows2003 and Windows Vista
> onward. What would be the BEST method of annotating this:
>
> Per the development guide:
>
> ok ( GetLastError() == WINXP_ERROR || GetLastError() == WINNT40_ERROR, ...);
>
> or:
>
> ok ( GetLastError() == WINXP_ERROR || Broken (GetLastError() ==
> WINNT40_ERROR));
>
> In other words, should I avoid the use of Broken() in this case, as the
> returned value is correct?
Normal practice is to try to match the XP+ behavior, and mark NT as
broken if it differs.
--
-Austin
More information about the wine-devel
mailing list