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
41099b0f
Commit
41099b0f
authored
Oct 20, 2009
by
Paul Vriens
Committed by
Alexandre Julliard
Oct 20, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/tests: Fix some test failures on older comctl32.
parent
93dad930
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
tooltips.c
dlls/comctl32/tests/tooltips.c
+10
-4
No files found.
dlls/comctl32/tests/tooltips.c
View file @
41099b0f
...
...
@@ -444,7 +444,9 @@ static void test_ttm_gettoolinfo(void)
ti
.
lParam
=
0xaaaaaaaa
;
r
=
SendMessageA
(
hwnd
,
TTM_GETTOOLINFOA
,
0
,
(
LPARAM
)
&
ti
);
ok
(
r
,
"Getting tooltip info failed
\n
"
);
ok
(
0xdeadbeef
==
ti
.
lParam
,
"Expected 0xdeadbeef, got %lx
\n
"
,
ti
.
lParam
);
ok
(
0xdeadbeef
==
ti
.
lParam
||
broken
(
0xdeadbeef
!=
ti
.
lParam
),
/* comctl32 < 5.81 */
"Expected 0xdeadbeef, got %lx
\n
"
,
ti
.
lParam
);
tiW
.
cbSize
=
TTTOOLINFOW_V2_SIZE
;
tiW
.
hwnd
=
NULL
;
...
...
@@ -452,18 +454,22 @@ static void test_ttm_gettoolinfo(void)
tiW
.
lParam
=
0xaaaaaaaa
;
r
=
SendMessageA
(
hwnd
,
TTM_GETTOOLINFOW
,
0
,
(
LPARAM
)
&
tiW
);
ok
(
r
,
"Getting tooltip info failed
\n
"
);
ok
(
0xdeadbeef
==
tiW
.
lParam
,
"Expected 0xdeadbeef, got %lx
\n
"
,
tiW
.
lParam
);
ok
(
0xdeadbeef
==
tiW
.
lParam
||
broken
(
0xdeadbeef
!=
tiW
.
lParam
),
/* comctl32 < 5.81 */
"Expected 0xdeadbeef, got %lx
\n
"
,
tiW
.
lParam
);
ti
.
cbSize
=
TTTOOLINFOA_V2_SIZE
;
ti
.
uId
=
0x1234ABCD
;
ti
.
lParam
=
0xaaaaaaaa
;
r
=
SendMessageA
(
hwnd
,
TTM_SETTOOLINFOA
,
0
,
(
LPARAM
)
&
ti
);
SendMessageA
(
hwnd
,
TTM_SETTOOLINFOA
,
0
,
(
LPARAM
)
&
ti
);
ti
.
cbSize
=
TTTOOLINFOA_V2_SIZE
;
ti
.
lParam
=
0xdeadbeef
;
r
=
SendMessageA
(
hwnd
,
TTM_GETTOOLINFOA
,
0
,
(
LPARAM
)
&
ti
);
ok
(
r
,
"Getting tooltip info failed
\n
"
);
ok
(
0xaaaaaaaa
==
ti
.
lParam
,
"Expected 0xaaaaaaaa, got %lx
\n
"
,
ti
.
lParam
);
ok
(
0xaaaaaaaa
==
ti
.
lParam
||
broken
(
0xaaaaaaaa
!=
ti
.
lParam
),
/* comctl32 < 5.81 */
"Expected 0xaaaaaaaa, got %lx
\n
"
,
ti
.
lParam
);
DestroyWindow
(
hwnd
);
...
...
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