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
f2b0e4f6
Commit
f2b0e4f6
authored
Jun 26, 2009
by
Paul Vriens
Committed by
Alexandre Julliard
Jun 26, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/tests: Fix test failures with comctl32 < 5.80.
parent
264170ff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
4 deletions
+15
-4
header.c
dlls/comctl32/tests/header.c
+15
-4
No files found.
dlls/comctl32/tests/header.c
View file @
f2b0e4f6
...
@@ -1025,9 +1025,16 @@ static void test_hdm_filterMessages(HWND hParent)
...
@@ -1025,9 +1025,16 @@ static void test_hdm_filterMessages(HWND hParent)
todo_wine
todo_wine
{
{
retVal
=
SendMessage
(
hChild
,
HDM_CLEARFILTER
,
0
,
1
);
retVal
=
SendMessage
(
hChild
,
HDM_CLEARFILTER
,
0
,
1
);
expect
(
1
,
retVal
);
if
(
retVal
==
0
)
win_skip
(
"HDM_CLEARFILTER needs 5.80
\n
"
);
else
expect
(
1
,
retVal
);
retVal
=
SendMessage
(
hChild
,
HDM_EDITFILTER
,
1
,
0
);
retVal
=
SendMessage
(
hChild
,
HDM_EDITFILTER
,
1
,
0
);
expect
(
1
,
retVal
);
if
(
retVal
==
0
)
win_skip
(
"HDM_EDITFILTER needs 5.80
\n
"
);
else
expect
(
1
,
retVal
);
}
}
if
(
winetest_interactive
)
if
(
winetest_interactive
)
ok_sequence
(
sequences
,
HEADER_SEQ_INDEX
,
filterMessages_seq_interactive
,
ok_sequence
(
sequences
,
HEADER_SEQ_INDEX
,
filterMessages_seq_interactive
,
...
@@ -1076,7 +1083,10 @@ static void test_hdm_bitmapmarginMessages(HWND hParent)
...
@@ -1076,7 +1083,10 @@ static void test_hdm_bitmapmarginMessages(HWND hParent)
flush_sequences
(
sequences
,
NUM_MSG_SEQUENCES
);
flush_sequences
(
sequences
,
NUM_MSG_SEQUENCES
);
retVal
=
SendMessage
(
hChild
,
HDM_GETBITMAPMARGIN
,
0
,
0
);
retVal
=
SendMessage
(
hChild
,
HDM_GETBITMAPMARGIN
,
0
,
0
);
expect
(
6
,
retVal
);
if
(
retVal
==
0
)
win_skip
(
"HDM_GETBITMAPMARGIN needs 5.80
\n
"
);
else
expect
(
6
,
retVal
);
ok_sequence
(
sequences
,
HEADER_SEQ_INDEX
,
bitmapmarginMessages_seq
,
ok_sequence
(
sequences
,
HEADER_SEQ_INDEX
,
bitmapmarginMessages_seq
,
"bitmapmarginMessages sequence testing"
,
FALSE
);
"bitmapmarginMessages sequence testing"
,
FALSE
);
...
@@ -1192,7 +1202,8 @@ static void test_hdm_index_messages(HWND hParent)
...
@@ -1192,7 +1202,8 @@ static void test_hdm_index_messages(HWND hParent)
if (item_spec != -1) \
if (item_spec != -1) \
ok(nm->dwItemSpec == item_spec, "Invalid dwItemSpec %d vs %ld\n", item_spec, nm->dwItemSpec); \
ok(nm->dwItemSpec == item_spec, "Invalid dwItemSpec %d vs %ld\n", item_spec, nm->dwItemSpec); \
ok(nm->lItemlParam == lparam, "Invalid lItemlParam %d vs %ld\n", lparam, nm->lItemlParam); \
ok(nm->lItemlParam == lparam, "Invalid lItemlParam %d vs %ld\n", lparam, nm->lItemlParam); \
ok(nm->rc.top == _top && nm->rc.bottom == _bottom && nm->rc.left == _left && nm->rc.right == _right, \
ok((nm->rc.top == _top && nm->rc.bottom == _bottom && nm->rc.left == _left && nm->rc.right == _right) || \
broken(draw_stage != CDDS_ITEMPREPAINT),
/* comctl32 < 5.80 */
\
"Invalid rect (%d,%d) (%d,%d) vs (%d,%d) (%d,%d)\n", _left, _top, _right, _bottom, \
"Invalid rect (%d,%d) (%d,%d) vs (%d,%d) (%d,%d)\n", _left, _top, _right, _bottom, \
nm->rc.left, nm->rc.top, nm->rc.right, nm->rc.bottom);
nm->rc.left, nm->rc.top, nm->rc.right, nm->rc.bottom);
...
...
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