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
74ee5a21
Commit
74ee5a21
authored
Jan 05, 2022
by
Piotr Caban
Committed by
Alexandre Julliard
Jan 05, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleacc/tests: Fix intermittent AccessibleObjectFromPoint tests failures.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
566c0653
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
main.c
dlls/oleacc/tests/main.c
+7
-1
No files found.
dlls/oleacc/tests/main.c
View file @
74ee5a21
...
...
@@ -1318,7 +1318,7 @@ static void test_AccessibleObjectFromPoint(void)
ok
(
SetWindowLongPtrA
(
hwnd
,
GWLP_WNDPROC
,
(
LONG_PTR
)
&
DefWindowProcA
),
"SetWindowLongPtr failed
\n
"
);
point
.
x
=
point
.
y
=
0
;
point
.
x
=
point
.
y
=
1
0
;
ok
(
ClientToScreen
(
hwnd
,
&
point
),
"ClientToScreen failed
\n
"
);
if
(
WindowFromPoint
(
point
)
!=
hwnd
)
...
...
@@ -1355,6 +1355,12 @@ static void test_AccessibleObjectFromPoint(void)
0
,
0
,
100
,
100
,
hwnd
,
NULL
,
NULL
,
NULL
);
ok
(
child
!=
NULL
,
"CreateWindow failed
\n
"
);
if
(
WindowFromPoint
(
point
)
!=
child
)
{
win_skip
(
"test window not returned from WindowFromPoint
\n
"
);
return
;
}
hr
=
AccessibleObjectFromPoint
(
point
,
&
acc
,
&
cid
);
ok
(
hr
==
S_OK
,
"got %x
\n
"
,
hr
);
ok
(
V_VT
(
&
cid
)
==
VT_I4
,
"got %#x, expected %#x
\n
"
,
V_VT
(
&
cid
),
VT_I4
);
...
...
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