[1/3] msxml3/tests: Added IStream tests for IMXWriter

Adam Martinson amartinson at codeweavers.com
Mon Jun 20 01:06:51 CDT 2011


On 06/19/2011 09:31 PM, Thomas Mullaly wrote:
> +#define DEFINE_EXPECT(func) \
> +    static BOOL expect_ ## func = FALSE, called_ ## func = FALSE
> +
> +#define SET_EXPECT(func) \
> +    expect_ ## func = TRUE
This seems like macro-overkill.  I think a struct/table here may be a 
bit cleaner.

> +static const CHAR szUtf16BOM[] = {'\xff','\xfe'};
Normal hex here would be more readable.



More information about the wine-devel mailing list