[PATCH 04/12] user32/tests: Wait a bit more for ScrollWindowEx events.
Rémi Bernon
rbernon at codeweavers.com
Tue Nov 12 14:41:57 CST 2019
It sometimes fails with an empty sequence on w2003std.
https://testbot.winehq.org/JobDetails.pl?Key=59878#k102
Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
---
dlls/user32/tests/msg.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c
index f136ea11669..1d795b50c3a 100644
--- a/dlls/user32/tests/msg.c
+++ b/dlls/user32/tests/msg.c
@@ -11073,6 +11073,7 @@ static void test_scrollwindowex(void)
ok_sequence(WmEmptySeq, "ScrollWindowEx", FALSE);
trace("end scroll\n");
flush_sequence();
+ MsgWaitForMultipleObjects( 0, NULL, FALSE, 1000, QS_ALLINPUT );
flush_events();
ok_sequence(ScrollWindowPaint1, "ScrollWindowEx", FALSE);
flush_events();
@@ -11084,6 +11085,7 @@ static void test_scrollwindowex(void)
ok_sequence(WmEmptySeq, "ScrollWindowEx", FALSE);
trace("end scroll\n");
flush_sequence();
+ MsgWaitForMultipleObjects( 0, NULL, FALSE, 1000, QS_ALLINPUT );
flush_events();
ok_sequence(ScrollWindowPaint2, "ScrollWindowEx", FALSE);
flush_events();
@@ -11098,6 +11100,7 @@ static void test_scrollwindowex(void)
ok_sequence(WmEmptySeq, "ScrollWindowEx", TRUE);
trace("end scroll\n");
flush_sequence();
+ MsgWaitForMultipleObjects( 0, NULL, FALSE, 1000, QS_ALLINPUT );
flush_events();
ok_sequence(ScrollWindowPaint1, "ScrollWindowEx", FALSE);
flush_events();
@@ -11108,6 +11111,7 @@ static void test_scrollwindowex(void)
ScrollWindow( hwnd, 5, 5, NULL, NULL);
trace("end scroll\n");
flush_sequence();
+ MsgWaitForMultipleObjects( 0, NULL, FALSE, 1000, QS_ALLINPUT );
flush_events();
ok_sequence(ScrollWindowPaint1, "ScrollWindow", FALSE);
--
2.24.0.rc2
More information about the wine-devel
mailing list