Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
35180d36
Commit
35180d36
authored
May 28, 2021
by
Francois Gouget
Committed by
Alexandre Julliard
May 28, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Trace GetLastError() when OpenClipboard() fails in edit.
Signed-off-by:
Francois Gouget
<
fgouget@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
764e7d08
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
edit.c
dlls/user32/tests/edit.c
+3
-3
No files found.
dlls/user32/tests/edit.c
View file @
35180d36
...
@@ -2187,7 +2187,7 @@ static void test_espassword(void)
...
@@ -2187,7 +2187,7 @@ static void test_espassword(void)
ok
(
strcmp
(
buffer
,
password
)
==
0
,
"expected %s, got %s
\n
"
,
password
,
buffer
);
ok
(
strcmp
(
buffer
,
password
)
==
0
,
"expected %s, got %s
\n
"
,
password
,
buffer
);
r
=
OpenClipboard
(
hwEdit
);
r
=
OpenClipboard
(
hwEdit
);
ok
(
r
==
TRUE
,
"expected %d, got %d
\n
"
,
TRUE
,
r
);
ok
(
r
==
TRUE
,
"expected %d, got %d
le=%u
\n
"
,
TRUE
,
r
,
GetLastError
()
);
r
=
EmptyClipboard
();
r
=
EmptyClipboard
();
ok
(
r
==
TRUE
,
"expected %d, got %d
\n
"
,
TRUE
,
r
);
ok
(
r
==
TRUE
,
"expected %d, got %d
\n
"
,
TRUE
,
r
);
r
=
CloseClipboard
();
r
=
CloseClipboard
();
...
@@ -3190,7 +3190,7 @@ static void test_paste(void)
...
@@ -3190,7 +3190,7 @@ static void test_paste(void)
GlobalUnlock
(
hmem
);
GlobalUnlock
(
hmem
);
r
=
OpenClipboard
(
hEdit
);
r
=
OpenClipboard
(
hEdit
);
ok
(
r
==
TRUE
,
"expected %d, got %d
\n
"
,
TRUE
,
r
);
ok
(
r
==
TRUE
,
"expected %d, got %d
le=%u
\n
"
,
TRUE
,
r
,
GetLastError
()
);
r
=
EmptyClipboard
();
r
=
EmptyClipboard
();
ok
(
r
==
TRUE
,
"expected %d, got %d
\n
"
,
TRUE
,
r
);
ok
(
r
==
TRUE
,
"expected %d, got %d
\n
"
,
TRUE
,
r
);
hmem_ret
=
SetClipboardData
(
CF_TEXT
,
hmem
);
hmem_ret
=
SetClipboardData
(
CF_TEXT
,
hmem
);
...
@@ -3213,7 +3213,7 @@ static void test_paste(void)
...
@@ -3213,7 +3213,7 @@ static void test_paste(void)
GlobalUnlock
(
hmem
);
GlobalUnlock
(
hmem
);
r
=
OpenClipboard
(
hEdit
);
r
=
OpenClipboard
(
hEdit
);
ok
(
r
==
TRUE
,
"expected %d, got %d
\n
"
,
TRUE
,
r
);
ok
(
r
==
TRUE
,
"expected %d, got %d
le=%u
\n
"
,
TRUE
,
r
,
GetLastError
()
);
r
=
EmptyClipboard
();
r
=
EmptyClipboard
();
ok
(
r
==
TRUE
,
"expected %d, got %d
\n
"
,
TRUE
,
r
);
ok
(
r
==
TRUE
,
"expected %d, got %d
\n
"
,
TRUE
,
r
);
hmem_ret
=
SetClipboardData
(
CF_TEXT
,
hmem
);
hmem_ret
=
SetClipboardData
(
CF_TEXT
,
hmem
);
...
...
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