Dan Hipschman : kernel32/tests: Check that timers are not NULL in timer queue tests.
Alexandre Julliard
julliard at winehq.org
Tue Jul 22 09:35:49 CDT 2008
Module: wine
Branch: master
Commit: 09f4ca64e27103717c8455a1a3cd270d275c5062
URL: http://source.winehq.org/git/wine.git/?a=commit;h=09f4ca64e27103717c8455a1a3cd270d275c5062
Author: Dan Hipschman <dsh at linux.ucla.edu>
Date: Mon Jul 21 17:44:05 2008 -0700
kernel32/tests: Check that timers are not NULL in timer queue tests.
---
dlls/kernel32/tests/sync.c | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/dlls/kernel32/tests/sync.c b/dlls/kernel32/tests/sync.c
index a8a1d93..cb118cf 100644
--- a/dlls/kernel32/tests/sync.c
+++ b/dlls/kernel32/tests/sync.c
@@ -625,6 +625,8 @@ static void test_timer_queue(void)
ret = pCreateTimerQueueTimer(&t1, q, timer_queue_cb1, &n1, 0,
0, 0);
ok(ret, "CreateTimerQueueTimer\n");
+ todo_wine
+ ok(t1 != NULL, "CreateTimerQueueTimer\n");
/* A slow one. */
t2 = NULL;
@@ -632,6 +634,8 @@ static void test_timer_queue(void)
ret = pCreateTimerQueueTimer(&t2, q, timer_queue_cb1, &n2, 0,
100, 0);
ok(ret, "CreateTimerQueueTimer\n");
+ todo_wine
+ ok(t2 != NULL, "CreateTimerQueueTimer\n");
/* A fast one. */
t3 = NULL;
@@ -639,6 +643,8 @@ static void test_timer_queue(void)
ret = pCreateTimerQueueTimer(&t3, q, timer_queue_cb1, &n3, 0,
10, 0);
ok(ret, "CreateTimerQueueTimer\n");
+ todo_wine
+ ok(t3 != NULL, "CreateTimerQueueTimer\n");
/* Start really late (it won't start). */
t4 = NULL;
@@ -646,6 +652,8 @@ static void test_timer_queue(void)
ret = pCreateTimerQueueTimer(&t4, q, timer_queue_cb1, &n4, 10000,
10, 0);
ok(ret, "CreateTimerQueueTimer\n");
+ todo_wine
+ ok(t4 != NULL, "CreateTimerQueueTimer\n");
/* Start soon, but delay so long it won't run again. */
t5 = NULL;
@@ -653,6 +661,8 @@ static void test_timer_queue(void)
ret = pCreateTimerQueueTimer(&t5, q, timer_queue_cb1, &n5, 0,
10000, 0);
ok(ret, "CreateTimerQueueTimer\n");
+ todo_wine
+ ok(t5 != NULL, "CreateTimerQueueTimer\n");
/* Give them a chance to do some work. */
Sleep(500);
@@ -704,6 +714,8 @@ static void test_timer_queue(void)
10, 0);
d2.t = t2;
ok(ret, "CreateTimerQueueTimer\n");
+ todo_wine
+ ok(t2 != NULL, "CreateTimerQueueTimer\n");
d3.t = t3 = NULL;
d3.num_calls = 0;
@@ -713,6 +725,8 @@ static void test_timer_queue(void)
10, 0);
d3.t = t3;
ok(ret, "CreateTimerQueueTimer\n");
+ todo_wine
+ ok(t3 != NULL, "CreateTimerQueueTimer\n");
Sleep(200);
More information about the wine-cvs
mailing list