Dmitry Timoshkov : gdiplus: Comment out a test that crashes some gdiplus implementations.
Alexandre Julliard
julliard at winehq.org
Thu Jun 28 13:55:18 CDT 2012
Module: wine
Branch: master
Commit: bd1adf9e0b22f52e4de47d15b97412b353697ce8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=bd1adf9e0b22f52e4de47d15b97412b353697ce8
Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date: Thu Jun 28 17:52:24 2012 +0900
gdiplus: Comment out a test that crashes some gdiplus implementations.
---
dlls/gdiplus/tests/image.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/gdiplus/tests/image.c b/dlls/gdiplus/tests/image.c
index 67d0a8b..c373f13 100644
--- a/dlls/gdiplus/tests/image.c
+++ b/dlls/gdiplus/tests/image.c
@@ -1786,10 +1786,13 @@ static void test_getsetpixel(void)
broken(stat == Ok), /* Older gdiplus */
"Expected InvalidParameter, got %.8x\n", stat);
+if (0) /* crashes some gdiplus implementations */
+{
stat = GdipBitmapSetPixel(bitmap, 1, -1, 0);
ok(stat == InvalidParameter ||
broken(stat == Ok), /* Older gdiplus */
"Expected InvalidParameter, got %.8x\n", stat);
+}
stat = GdipBitmapGetPixel(bitmap, 2, 1, &color);
expect(InvalidParameter, stat);
More information about the wine-cvs
mailing list