Commit a126f0ca authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

gdiplus/tests: Fix some test failures on older gdiplus versions.

parent f9786d7e
......@@ -828,10 +828,14 @@ static void test_getsetpixel(void)
expect(InvalidParameter, stat);
stat = GdipBitmapGetPixel(bitmap, 1, -1, &color);
expect(InvalidParameter, stat);
ok(stat == InvalidParameter ||
broken(stat == Ok), /* Older gdiplus */
"Expected InvalidParameter, got %.8x\n", stat);
stat = GdipBitmapSetPixel(bitmap, 1, -1, 0);
expect(InvalidParameter, stat);
ok(stat == InvalidParameter ||
broken(stat == Ok), /* Older gdiplus */
"Expected InvalidParameter, got %.8x\n", stat);
stat = GdipBitmapGetPixel(bitmap, 2, 1, &color);
expect(InvalidParameter, stat);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment