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
2dd0d8ab
Commit
2dd0d8ab
authored
May 31, 2011
by
Marko Nikolic
Committed by
Alexandre Julliard
Jun 01, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/tests: Removed sign comparison warning in tooltip tests.
parent
8c13dcc2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
tooltips.c
dlls/comctl32/tests/tooltips.c
+12
-12
No files found.
dlls/comctl32/tests/tooltips.c
View file @
2dd0d8ab
...
...
@@ -148,7 +148,7 @@ static void test_customdraw(void) {
{
CDRF_NEWFONT
,
TEST_CDDS_PREPAINT
}
};
int
iterationNumber
;
DWORD
iterationNumber
;
WNDCLASSA
wc
;
LRESULT
lResult
;
...
...
@@ -435,7 +435,7 @@ static void test_ttm_gettoolinfo(void)
ti
.
uFlags
=
0
;
ti
.
uId
=
0x1234ABCD
;
ti
.
lpszText
=
NULL
;
ti
.
lParam
=
0x
deadbeef
;
ti
.
lParam
=
0x
1abe11ed
;
GetClientRect
(
hwnd
,
&
ti
.
rect
);
r
=
SendMessageA
(
hwnd
,
TTM_ADDTOOLA
,
0
,
(
LPARAM
)
&
ti
);
ok
(
r
,
"Adding the tool to the tooltip failed
\n
"
);
...
...
@@ -444,9 +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
(
0x
deadbeef
==
ti
.
lParam
||
broken
(
0x
deadbeef
!=
ti
.
lParam
),
/* comctl32 < 5.81 */
"Expected 0x
deadbeef
, got %lx
\n
"
,
ti
.
lParam
);
ok
(
0x
1abe11ed
==
ti
.
lParam
||
broken
(
0x
1abe11ed
!=
ti
.
lParam
),
/* comctl32 < 5.81 */
"Expected 0x
1abe11ed
, got %lx
\n
"
,
ti
.
lParam
);
tiW
.
cbSize
=
TTTOOLINFOW_V2_SIZE
;
tiW
.
hwnd
=
NULL
;
...
...
@@ -454,22 +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
(
0x
deadbeef
==
tiW
.
lParam
||
broken
(
0x
deadbeef
!=
tiW
.
lParam
),
/* comctl32 < 5.81 */
"Expected 0x
deadbeef
, got %lx
\n
"
,
tiW
.
lParam
);
ok
(
0x
1abe11ed
==
tiW
.
lParam
||
broken
(
0x
1abe11ed
!=
tiW
.
lParam
),
/* comctl32 < 5.81 */
"Expected 0x
1abe11ed
, got %lx
\n
"
,
tiW
.
lParam
);
ti
.
cbSize
=
TTTOOLINFOA_V2_SIZE
;
ti
.
uId
=
0x1234ABCD
;
ti
.
lParam
=
0x
aaaaaaaa
;
ti
.
lParam
=
0x
55555555
;
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
(
0x
aaaaaaaa
==
ti
.
lParam
||
broken
(
0x
aaaaaaaa
!=
ti
.
lParam
),
/* comctl32 < 5.81 */
"Expected 0x
aaaaaaaa
, got %lx
\n
"
,
ti
.
lParam
);
ok
(
0x
55555555
==
ti
.
lParam
||
broken
(
0x
55555555
!=
ti
.
lParam
),
/* comctl32 < 5.81 */
"Expected 0x
55555555
, 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