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
cc0ea85c
Commit
cc0ea85c
authored
Sep 08, 2008
by
James Hawkins
Committed by
Alexandre Julliard
Sep 09, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Store the previous timeout value to test with.
parent
6e7c73ca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
9 deletions
+15
-9
header.c
dlls/comctl32/tests/header.c
+15
-9
No files found.
dlls/comctl32/tests/header.c
View file @
cc0ea85c
...
@@ -999,7 +999,7 @@ static void test_hdm_imageMessages(HWND hParent)
...
@@ -999,7 +999,7 @@ static void test_hdm_imageMessages(HWND hParent)
static
void
test_hdm_filterMessages
(
HWND
hParent
)
static
void
test_hdm_filterMessages
(
HWND
hParent
)
{
{
HWND
hChild
;
HWND
hChild
;
int
retVal
;
int
retVal
,
timeout
;
flush_sequences
(
sequences
,
NUM_MSG_SEQUENCES
);
flush_sequences
(
sequences
,
NUM_MSG_SEQUENCES
);
hChild
=
create_custom_header_control
(
hParent
,
TRUE
);
hChild
=
create_custom_header_control
(
hParent
,
TRUE
);
...
@@ -1007,21 +1007,27 @@ static void test_hdm_filterMessages(HWND hParent)
...
@@ -1007,21 +1007,27 @@ static void test_hdm_filterMessages(HWND hParent)
ok_sequence
(
sequences
,
PARENT_SEQ_INDEX
,
add_header_to_parent_seq
,
ok_sequence
(
sequences
,
PARENT_SEQ_INDEX
,
add_header_to_parent_seq
,
"adder header control to parent"
,
FALSE
);
"adder header control to parent"
,
FALSE
);
timeout
=
SendMessage
(
hChild
,
HDM_SETFILTERCHANGETIMEOUT
,
1
,
100
);
SendMessage
(
hChild
,
HDM_SETFILTERCHANGETIMEOUT
,
1
,
timeout
);
flush_sequences
(
sequences
,
NUM_MSG_SEQUENCES
);
flush_sequences
(
sequences
,
NUM_MSG_SEQUENCES
);
/* msdn incorrectly states that return value
* is the index of the filter control being
* modified. The sendMessage here should
* return previous filter timeout value
*/
retVal
=
SendMessage
(
hChild
,
HDM_SETFILTERCHANGETIMEOUT
,
1
,
100
);
expect
(
timeout
,
retVal
);
todo_wine
todo_wine
{
{
/* msdn incorrectly states that return value
* is the index of the filter control being
* modified. The sendMessage here should
* return previous filter timeout value
*/
retVal
=
SendMessage
(
hChild
,
HDM_SETFILTERCHANGETIMEOUT
,
1
,
100
);
expect
(
1000
,
retVal
);
retVal
=
SendMessage
(
hChild
,
HDM_CLEARFILTER
,
0
,
1
);
retVal
=
SendMessage
(
hChild
,
HDM_CLEARFILTER
,
0
,
1
);
expect
(
1
,
retVal
);
expect
(
1
,
retVal
);
retVal
=
SendMessage
(
hChild
,
HDM_EDITFILTER
,
1
,
0
);
retVal
=
SendMessage
(
hChild
,
HDM_EDITFILTER
,
1
,
0
);
expect
(
1
,
retVal
);
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
,
"filterMessages sequence testing"
,
TRUE
);
"filterMessages sequence testing"
,
TRUE
);
...
...
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