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
388dd4d8
Commit
388dd4d8
authored
Jan 06, 2020
by
Zebediah Figura
Committed by
Alexandre Julliard
Jan 07, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Avoid testing that GDI handles are no longer valid.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
47c691a2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
clipboard.c
dlls/user32/tests/clipboard.c
+0
-5
No files found.
dlls/user32/tests/clipboard.c
View file @
388dd4d8
...
...
@@ -1397,7 +1397,6 @@ static void test_handles( HWND hwnd )
h
=
SetClipboardData
(
CF_BITMAP
,
bitmap
);
ok
(
h
==
bitmap
,
"got %p
\n
"
,
h
);
ok
(
GetObjectType
(
h
)
==
OBJ_BITMAP
,
"expected bitmap %p
\n
"
,
h
);
ok
(
!
GetObjectType
(
bitmap_temp
),
"expected free object %p
\n
"
,
bitmap_temp
);
h
=
SetClipboardData
(
CF_DSPBITMAP
,
bitmap2
);
ok
(
h
==
bitmap2
,
"got %p
\n
"
,
h
);
ok
(
GetObjectType
(
h
)
==
OBJ_BITMAP
,
"expected bitmap %p
\n
"
,
h
);
...
...
@@ -1605,9 +1604,6 @@ static void test_handles( HWND hwnd )
ok
(
is_freed
(
hmoveable
)
||
broken
(
!
is_freed
(
hmoveable
)),
"expected freed mem %p
\n
"
,
hmoveable
);
ok
(
is_fixed
(
empty_fixed
),
"expected fixed mem %p
\n
"
,
empty_fixed
);
ok
(
is_fixed
(
hfixed
),
"expected fixed mem %p
\n
"
,
hfixed
);
ok
(
!
GetObjectType
(
bitmap
),
"expected freed handle %p
\n
"
,
bitmap
);
ok
(
!
GetObjectType
(
bitmap2
),
"expected freed handle %p
\n
"
,
bitmap2
);
ok
(
!
GetObjectType
(
palette
),
"expected freed handle %p
\n
"
,
palette
);
r
=
CloseClipboard
();
ok
(
r
,
"gle %d
\n
"
,
GetLastError
()
);
...
...
@@ -1896,7 +1892,6 @@ static void test_data_handles(void)
ok
(
GetObjectType
(
bitmap
)
==
OBJ_BITMAP
,
"expected bitmap %p
\n
"
,
bitmap
);
r
=
EmptyClipboard
();
ok
(
r
,
"gle %d
\n
"
,
GetLastError
()
);
ok
(
!
GetObjectType
(
bitmap
),
"expected deleted %p
\n
"
,
bitmap
);
r
=
CloseClipboard
();
ok
(
r
,
"gle %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