Paul Vriens : user32/tests: Fix some test failures with 9x/Me on VMware.
Alexandre Julliard
julliard at winehq.org
Tue Oct 6 10:35:52 CDT 2009
Module: wine
Branch: master
Commit: 7be2f6d985ab2488d38075d504b92bcc8ca235d9
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7be2f6d985ab2488d38075d504b92bcc8ca235d9
Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date: Tue Oct 6 13:35:56 2009 +0200
user32/tests: Fix some test failures with 9x/Me on VMware.
---
dlls/user32/tests/win.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/user32/tests/win.c b/dlls/user32/tests/win.c
index 2a62400..63f25bc 100644
--- a/dlls/user32/tests/win.c
+++ b/dlls/user32/tests/win.c
@@ -3242,6 +3242,7 @@ static void test_scrollwindow( HWND hwnd)
rc2 = rc;
rc2.top = ( rc2.top + rc2.bottom) / 2;
ScrollWindowEx( hwnd, 0, - rc2.top, &rc2, NULL, NULL, NULL, SW_ERASE);
+ flush_events(FALSE);
/* expected: black should have scrolled to the upper half */
colr = GetPixel( hdc, (rc2.left+rc2.right)/ 2, rc2.bottom / 4 );
ok ( colr == 0, "pixel should be black, color is %08x\n", colr);
@@ -3261,6 +3262,7 @@ static void test_scrollwindow( HWND hwnd)
rc3.left = rc3.right / 4;
rc3.right -= rc3.right / 4;
ScrollWindowEx( hwnd, 0, - rc2.top, &rc2, &rc3, NULL, NULL, SW_ERASE);
+ flush_events(FALSE);
/* expected: black should have scrolled to the upper half */
colr = GetPixel( hdc, (rc2.left+rc2.right)/ 2, rc2.bottom / 4 );
ok ( colr == 0, "pixel should be black, color is %08x\n", colr);
More information about the wine-cvs
mailing list