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
1e9d40e6
Commit
1e9d40e6
authored
May 16, 2017
by
Piotr Caban
Committed by
Alexandre Julliard
May 16, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Test clipboard sequence number for synthesized data.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
61d78205
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
clipboard.c
dlls/user32/tests/clipboard.c
+5
-1
No files found.
dlls/user32/tests/clipboard.c
View file @
1e9d40e6
...
...
@@ -597,7 +597,7 @@ static void test_synthesized(void)
HGLOBAL
h
,
htext
;
HENHMETAFILE
emf
;
BOOL
r
;
UINT
cf
,
i
,
j
,
count
,
rendered
;
UINT
cf
,
i
,
j
,
count
,
rendered
,
seq
,
old_seq
;
HANDLE
data
;
HWND
hwnd
;
...
...
@@ -762,10 +762,14 @@ static void test_synthesized(void)
ok
(
cf
==
tests
[
i
].
expected
[
j
],
"%u.%u: got %04x instead of %04x
\n
"
,
i
,
j
,
cf
,
tests
[
i
].
expected
[
j
]
);
if
(
cf
!=
tests
[
i
].
expected
[
j
])
break
;
old_seq
=
GetClipboardSequenceNumber
();
data
=
GetClipboardData
(
cf
);
ok
(
data
!=
NULL
||
broken
(
tests
[
i
].
format
==
CF_DIBV5
&&
cf
==
CF_DIB
),
/* >= Vista */
"%u: couldn't get data, cf %04x err %d
\n
"
,
i
,
cf
,
GetLastError
());
seq
=
GetClipboardSequenceNumber
();
todo_wine_if
(
cf
!=
tests
[
i
].
format
&&
cf
!=
CF_LOCALE
)
ok
(
seq
==
old_seq
,
"sequence changed (test %d %d)
\n
"
,
i
,
cf
);
switch
(
cf
)
{
case
CF_LOCALE
:
...
...
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