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
3bab02d0
Commit
3bab02d0
authored
Sep 09, 2016
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Make the clipboard sequence tests more strict.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ef08bd76
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
12 deletions
+13
-12
clipboard.c
dlls/user32/tests/clipboard.c
+13
-12
No files found.
dlls/user32/tests/clipboard.c
View file @
3bab02d0
...
@@ -1041,7 +1041,7 @@ static DWORD WINAPI clipboard_thread(void *param)
...
@@ -1041,7 +1041,7 @@ static DWORD WINAPI clipboard_thread(void *param)
if
(
pGetClipboardSequenceNumber
)
if
(
pGetClipboardSequenceNumber
)
{
{
seq
=
pGetClipboardSequenceNumber
();
seq
=
pGetClipboardSequenceNumber
();
ok
(
(
int
)(
seq
-
old_seq
)
>
0
,
"sequence unchanged
\n
"
);
ok
(
(
int
)(
seq
-
old_seq
)
==
1
,
"sequence diff %d
\n
"
,
seq
-
old_seq
);
old_seq
=
seq
;
old_seq
=
seq
;
}
}
if
(
!
cross_thread
)
if
(
!
cross_thread
)
...
@@ -1066,7 +1066,7 @@ static DWORD WINAPI clipboard_thread(void *param)
...
@@ -1066,7 +1066,7 @@ static DWORD WINAPI clipboard_thread(void *param)
if
(
pGetClipboardSequenceNumber
)
if
(
pGetClipboardSequenceNumber
)
{
{
seq
=
pGetClipboardSequenceNumber
();
seq
=
pGetClipboardSequenceNumber
();
ok
(
(
int
)(
seq
-
old_seq
)
>
0
,
"sequence unchanged
\n
"
);
ok
(
(
int
)(
seq
-
old_seq
)
==
1
,
"sequence diff %d
\n
"
,
seq
-
old_seq
);
old_seq
=
seq
;
old_seq
=
seq
;
}
}
if
(
!
cross_thread
)
if
(
!
cross_thread
)
...
@@ -1093,7 +1093,7 @@ static DWORD WINAPI clipboard_thread(void *param)
...
@@ -1093,7 +1093,7 @@ static DWORD WINAPI clipboard_thread(void *param)
if
(
pGetClipboardSequenceNumber
)
if
(
pGetClipboardSequenceNumber
)
{
{
seq
=
pGetClipboardSequenceNumber
();
seq
=
pGetClipboardSequenceNumber
();
todo_wine
ok
(
(
int
)(
seq
-
old_seq
)
>
0
,
"sequence unchanged
\n
"
);
todo_wine
ok
(
(
int
)(
seq
-
old_seq
)
==
1
,
"sequence diff %d
\n
"
,
seq
-
old_seq
);
old_seq
=
seq
;
old_seq
=
seq
;
}
}
if
(
!
cross_thread
)
if
(
!
cross_thread
)
...
@@ -1115,7 +1115,7 @@ static DWORD WINAPI clipboard_thread(void *param)
...
@@ -1115,7 +1115,7 @@ static DWORD WINAPI clipboard_thread(void *param)
if
(
pGetClipboardSequenceNumber
)
if
(
pGetClipboardSequenceNumber
)
{
{
seq
=
pGetClipboardSequenceNumber
();
seq
=
pGetClipboardSequenceNumber
();
todo_wine
ok
(
(
int
)(
seq
-
old_seq
)
>
0
,
"sequence unchanged
\n
"
);
todo_wine
ok
(
(
int
)(
seq
-
old_seq
)
==
1
,
"sequence diff %d
\n
"
,
seq
-
old_seq
);
old_seq
=
seq
;
old_seq
=
seq
;
}
}
if
(
!
cross_thread
)
if
(
!
cross_thread
)
...
@@ -1137,7 +1137,7 @@ static DWORD WINAPI clipboard_thread(void *param)
...
@@ -1137,7 +1137,7 @@ static DWORD WINAPI clipboard_thread(void *param)
if
(
pGetClipboardSequenceNumber
)
if
(
pGetClipboardSequenceNumber
)
{
{
seq
=
pGetClipboardSequenceNumber
();
seq
=
pGetClipboardSequenceNumber
();
todo_wine
ok
(
(
int
)(
seq
-
old_seq
)
>
0
,
"sequence unchanged
\n
"
);
todo_wine
ok
(
(
int
)(
seq
-
old_seq
)
==
1
,
"sequence diff %d
\n
"
,
seq
-
old_seq
);
old_seq
=
seq
;
old_seq
=
seq
;
}
}
if
(
!
cross_thread
)
if
(
!
cross_thread
)
...
@@ -1166,7 +1166,7 @@ static DWORD WINAPI clipboard_thread(void *param)
...
@@ -1166,7 +1166,7 @@ static DWORD WINAPI clipboard_thread(void *param)
if
(
pGetClipboardSequenceNumber
)
if
(
pGetClipboardSequenceNumber
)
{
{
seq
=
pGetClipboardSequenceNumber
();
seq
=
pGetClipboardSequenceNumber
();
ok
(
(
int
)(
seq
-
old_seq
)
>
0
,
"sequence unchanged
\n
"
);
todo_wine
ok
(
(
int
)(
seq
-
old_seq
)
==
2
,
"sequence diff %d
\n
"
,
seq
-
old_seq
);
old_seq
=
seq
;
old_seq
=
seq
;
}
}
if
(
!
cross_thread
)
if
(
!
cross_thread
)
...
@@ -1223,7 +1223,7 @@ static DWORD WINAPI clipboard_thread(void *param)
...
@@ -1223,7 +1223,7 @@ static DWORD WINAPI clipboard_thread(void *param)
if
(
pGetClipboardSequenceNumber
)
if
(
pGetClipboardSequenceNumber
)
{
{
seq
=
pGetClipboardSequenceNumber
();
seq
=
pGetClipboardSequenceNumber
();
todo_wine
ok
(
(
int
)(
seq
-
old_seq
)
>
0
,
"sequence unchanged
\n
"
);
todo_wine
ok
(
(
int
)(
seq
-
old_seq
)
==
1
,
"sequence diff %d
\n
"
,
seq
-
old_seq
);
old_seq
=
seq
;
old_seq
=
seq
;
}
}
if
(
!
cross_thread
)
if
(
!
cross_thread
)
...
@@ -1321,7 +1321,7 @@ static DWORD WINAPI clipboard_thread(void *param)
...
@@ -1321,7 +1321,7 @@ static DWORD WINAPI clipboard_thread(void *param)
if
(
pGetClipboardSequenceNumber
)
if
(
pGetClipboardSequenceNumber
)
{
{
seq
=
pGetClipboardSequenceNumber
();
seq
=
pGetClipboardSequenceNumber
();
ok
(
(
int
)(
seq
-
old_seq
)
>
0
,
"sequence unchanged
\n
"
);
ok
(
(
int
)(
seq
-
old_seq
)
==
2
,
"sequence diff %d
\n
"
,
seq
-
old_seq
);
old_seq
=
seq
;
old_seq
=
seq
;
}
}
if
(
!
cross_thread
)
if
(
!
cross_thread
)
...
@@ -1370,7 +1370,7 @@ static DWORD WINAPI clipboard_thread(void *param)
...
@@ -1370,7 +1370,7 @@ static DWORD WINAPI clipboard_thread(void *param)
if
(
pGetClipboardSequenceNumber
)
if
(
pGetClipboardSequenceNumber
)
{
{
seq
=
pGetClipboardSequenceNumber
();
seq
=
pGetClipboardSequenceNumber
();
ok
(
(
int
)(
seq
-
old_seq
)
>
0
,
"sequence unchanged
\n
"
);
ok
(
(
int
)(
seq
-
old_seq
)
==
1
,
"sequence diff %d
\n
"
,
seq
-
old_seq
);
old_seq
=
seq
;
old_seq
=
seq
;
}
}
if
(
!
cross_thread
)
if
(
!
cross_thread
)
...
@@ -1396,7 +1396,7 @@ static DWORD WINAPI clipboard_thread(void *param)
...
@@ -1396,7 +1396,7 @@ static DWORD WINAPI clipboard_thread(void *param)
if
(
pGetClipboardSequenceNumber
)
if
(
pGetClipboardSequenceNumber
)
{
{
seq
=
pGetClipboardSequenceNumber
();
seq
=
pGetClipboardSequenceNumber
();
todo_wine
ok
(
(
int
)(
seq
-
old_seq
)
>
0
,
"sequence unchanged
\n
"
);
todo_wine
ok
(
(
int
)(
seq
-
old_seq
)
==
1
,
"sequence diff %d
\n
"
,
seq
-
old_seq
);
old_seq
=
seq
;
old_seq
=
seq
;
}
}
if
(
!
cross_thread
)
if
(
!
cross_thread
)
...
@@ -1443,7 +1443,8 @@ static DWORD WINAPI clipboard_thread(void *param)
...
@@ -1443,7 +1443,8 @@ static DWORD WINAPI clipboard_thread(void *param)
if
(
pGetClipboardSequenceNumber
)
if
(
pGetClipboardSequenceNumber
)
{
{
seq
=
pGetClipboardSequenceNumber
();
seq
=
pGetClipboardSequenceNumber
();
ok
(
(
int
)(
seq
-
old_seq
)
>
0
,
"sequence unchanged
\n
"
);
todo_wine_if
(
!
cross_thread
)
ok
(
(
int
)(
seq
-
old_seq
)
==
2
,
"sequence diff %d
\n
"
,
seq
-
old_seq
);
old_seq
=
seq
;
old_seq
=
seq
;
}
}
if
(
!
cross_thread
)
if
(
!
cross_thread
)
...
@@ -1469,7 +1470,7 @@ static DWORD WINAPI clipboard_thread(void *param)
...
@@ -1469,7 +1470,7 @@ static DWORD WINAPI clipboard_thread(void *param)
if
(
pGetClipboardSequenceNumber
)
if
(
pGetClipboardSequenceNumber
)
{
{
seq
=
pGetClipboardSequenceNumber
();
seq
=
pGetClipboardSequenceNumber
();
todo_wine
ok
(
(
int
)(
seq
-
old_seq
)
>
0
,
"sequence unchanged
\n
"
);
todo_wine
ok
(
(
int
)(
seq
-
old_seq
)
==
1
,
"sequence diff %d
\n
"
,
seq
-
old_seq
);
old_seq
=
seq
;
old_seq
=
seq
;
}
}
if
(
!
cross_thread
)
if
(
!
cross_thread
)
...
...
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