Re: [2/2] gdiplus/tests: Add tests for GdipGetVisibleClipBounds
12 Aug
2009
12 Aug
'09
6:07 p.m.
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).
5975
Age (days ago)
5975
Last active (days ago)
0 comments
1 participants
participants (1)
-
Nikolay Sivov