From 8134b93516912e080e8057d13e2e98b7f7e7fe1b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Hentschel?= Date: Tue, 9 Aug 2011 19:17:12 +0200 Subject: [PATCH] gdi32/tests: Consistently print out all infos about non-equal rects. --- dlls/gdi32/tests/dc.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/dlls/gdi32/tests/dc.c b/dlls/gdi32/tests/dc.c index 50175833a5..c173cefdf3 100644 --- a/dlls/gdi32/tests/dc.c +++ b/dlls/gdi32/tests/dc.c @@ -107,7 +107,10 @@ todo_wine ret = GetClipBox(hdc, &rc_clip); ok(ret == SIMPLEREGION || broken(ret == COMPLEXREGION), "GetClipBox returned %d instead of SIMPLEREGION\n", ret); SetRect(&rc, 0, 0, 50, 50); - ok(EqualRect(&rc, &rc_clip), "rects are not equal\n"); + ok(EqualRect(&rc, &rc_clip), + "rects are not equal: (%d,%d-%d,%d) - (%d,%d-%d,%d)\n", + rc.left, rc.top, rc.right, rc.bottom, + rc_clip.left, rc_clip.top, rc_clip.right, rc_clip.bottom); ret = RestoreDC(hdc, 1); ok(ret, "ret = %d\n", ret); @@ -115,7 +118,10 @@ todo_wine ret = GetClipBox(hdc, &rc_clip); ok(ret == SIMPLEREGION || broken(ret == COMPLEXREGION), "GetClipBox returned %d instead of SIMPLEREGION\n", ret); SetRect(&rc, 0, 0, 100, 100); - ok(EqualRect(&rc, &rc_clip), "rects are not equal\n"); + ok(EqualRect(&rc, &rc_clip), + "rects are not equal: (%d,%d-%d,%d) - (%d,%d-%d,%d)\n", + rc.left, rc.top, rc.right, rc.bottom, + rc_clip.left, rc_clip.top, rc_clip.right, rc_clip.bottom); DeleteObject(hrgn); ReleaseDC(hwnd, hdc); -- 2.32.0.93.g670b81a890