Huw Davies : ole32/tests: Mark the draw_continue callbacks as optional. Win9x can skip calls under low-load conditions.

Alexandre Julliard julliard at winehq.org
Tue Sep 28 11:13:37 CDT 2010


Module: wine
Branch: master
Commit: 6c7dd939cfb130a67ca5e4a2d852fe250e15b39e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=6c7dd939cfb130a67ca5e4a2d852fe250e15b39e

Author: Huw Davies <huw at codeweavers.com>
Date:   Tue Sep 28 10:39:54 2010 +0100

ole32/tests: Mark the draw_continue callbacks as optional. Win9x can skip calls under low-load conditions.

---

 dlls/ole32/tests/ole2.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/ole32/tests/ole2.c b/dlls/ole32/tests/ole2.c
index 8d23df5..080c2f2 100644
--- a/dlls/ole32/tests/ole2.c
+++ b/dlls/ole32/tests/ole2.c
@@ -1116,7 +1116,7 @@ static void test_data_cache(void)
     {
         { "AdviseSink_OnViewChange", 0 },
         { "AdviseSink_OnViewChange", 0 },
-        { "draw_continue", 0 },
+        { "draw_continue", 1 },
         { "DataObject_DAdvise", 0 },
         { "DataObject_DAdvise", 0 },
         { "DataObject_DUnadvise", 0 },
@@ -1126,9 +1126,9 @@ static void test_data_cache(void)
     static const struct expected_method methods_cacheload[] =
     {
         { "AdviseSink_OnViewChange", 0 },
-        { "draw_continue", 0 },
-        { "draw_continue", 0 },
-        { "draw_continue", 0 },
+        { "draw_continue", 1 },
+        { "draw_continue", 1 },
+        { "draw_continue", 1 },
         { "DataObject_GetData", 0 },
         { "DataObject_GetData", 0 },
         { "DataObject_GetData", 0 },




More information about the wine-cvs mailing list