Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
cf111610
Commit
cf111610
authored
Nov 17, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/test: Fix the timer queue tests on Vista.
parent
28c411b6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
11 deletions
+6
-11
sync.c
dlls/kernel32/tests/sync.c
+6
-11
No files found.
dlls/kernel32/tests/sync.c
View file @
cf111610
...
...
@@ -658,8 +658,7 @@ static void test_timer_queue(void)
SetLastError
(
0xdeadbeef
);
ret
=
pDeleteTimerQueueEx
(
q
,
NULL
);
ok
(
!
ret
,
"DeleteTimerQueueEx call was expected to fail
\n
"
);
ok
(
GetLastError
()
==
ERROR_IO_PENDING
,
ok
(
ret
/* vista */
||
GetLastError
()
==
ERROR_IO_PENDING
,
"DeleteTimerQueueEx, GetLastError: expected ERROR_IO_PENDING, got %d
\n
"
,
GetLastError
());
...
...
@@ -771,8 +770,7 @@ static void test_timer_queue(void)
even if the timer is finished. */
SetLastError
(
0xdeadbeef
);
ret
=
pDeleteTimerQueueTimer
(
q
,
t1
,
NULL
);
ok
(
!
ret
,
"DeleteTimerQueueTimer call was expected to fail
\n
"
);
ok
(
GetLastError
()
==
ERROR_IO_PENDING
,
ok
(
ret
/* vista */
||
GetLastError
()
==
ERROR_IO_PENDING
,
"DeleteTimerQueueTimer, GetLastError: expected ERROR_IO_PENDING, got %d
\n
"
,
GetLastError
());
...
...
@@ -803,8 +801,7 @@ static void test_timer_queue(void)
SetLastError
(
0xdeadbeef
);
ret
=
pDeleteTimerQueueEx
(
q
,
e
);
ok
(
!
ret
,
"DeleteTimerQueueEx call was expected to fail
\n
"
);
ok
(
GetLastError
()
==
ERROR_IO_PENDING
,
ok
(
ret
/* vista */
||
GetLastError
()
==
ERROR_IO_PENDING
,
"DeleteTimerQueueEx, GetLastError: expected ERROR_IO_PENDING, got %d
\n
"
,
GetLastError
());
ok
(
WaitForSingleObject
(
e
,
250
)
==
WAIT_OBJECT_0
,
...
...
@@ -854,7 +851,7 @@ static void test_timer_queue(void)
ok
(
ret
,
"CreateTimerQueueTimer
\n
"
);
ok
(
t4
!=
NULL
,
"CreateTimerQueueTimer
\n
"
);
Sleep
(
2
00
);
Sleep
(
5
00
);
ret
=
pDeleteTimerQueueEx
(
q
,
INVALID_HANDLE_VALUE
);
ok
(
ret
,
"DeleteTimerQueueEx
\n
"
);
...
...
@@ -881,8 +878,7 @@ static void test_timer_queue(void)
SetLastError
(
0xdeadbeef
);
ret
=
pDeleteTimerQueueEx
(
q
,
NULL
);
ok
(
!
ret
,
"DeleteTimerQueueEx call was expected to fail
\n
"
);
ok
(
GetLastError
()
==
ERROR_IO_PENDING
,
ok
(
ret
/* vista */
||
GetLastError
()
==
ERROR_IO_PENDING
,
"DeleteTimerQueueEx, GetLastError: expected ERROR_IO_PENDING, got %d
\n
"
,
GetLastError
());
ok
(
d1
.
num_calls
==
1
,
"DeleteTimerQueueTimer
\n
"
);
...
...
@@ -941,8 +937,7 @@ static void test_timer_queue(void)
SetLastError
(
0xdeadbeef
);
ret
=
pDeleteTimerQueueEx
(
q
,
NULL
);
ok
(
!
ret
,
"DeleteTimerQueueEx call was expected to fail
\n
"
);
ok
(
GetLastError
()
==
ERROR_IO_PENDING
,
ok
(
ret
/* vista */
||
GetLastError
()
==
ERROR_IO_PENDING
,
"DeleteTimerQueueEx, GetLastError: expected ERROR_IO_PENDING, got %d
\n
"
,
GetLastError
());
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment