[2/2] gdiplus/tests: Add tests for GdipGetVisibleClipBounds

Nikolay Sivov bunglehead at gmail.com
Wed Aug 12 13:07:21 CDT 2009


Andrew Eikum wrote:
> ---
>  dlls/gdiplus/tests/graphics.c |  244 
> +++++++++++++++++++++++++++++++++++++++++
>  1 files changed, 244 insertions(+), 0 deletions(-)
I suggest to split this:
---

+    ok(rectf.X == exp.X &&
+        rectf.Y == exp.Y &&
+        rectf.Width == exp.Width &&
+        rectf.Height == exp.Height,
+        "Expected clip bounds (%0.f, %0.f, %0.f, %0.f) to be the size of "
+        "the screen (%0.f, %0.f, %0.f, %0.f)\n",
+        rectf.X, rectf.Y, rectf.Width, rectf.Height,
+        exp.X, exp.Y, exp.Width, exp.Height);
---

to four separate tests to simplify customization in possible failures in future (mean broken() cases
on native).






More information about the wine-devel mailing list