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
106791c6
Commit
106791c6
authored
Sep 08, 2008
by
James Hawkins
Committed by
Alexandre Julliard
Sep 08, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Fix several test failures in win98.
parent
66483daf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
header.c
dlls/comctl32/tests/header.c
+14
-14
No files found.
dlls/comctl32/tests/header.c
View file @
106791c6
...
@@ -89,7 +89,7 @@ static const struct message add_header_to_parent_seq_interactive[] = {
...
@@ -89,7 +89,7 @@ static const struct message add_header_to_parent_seq_interactive[] = {
static
const
struct
message
add_header_to_parent_seq
[]
=
{
static
const
struct
message
add_header_to_parent_seq
[]
=
{
{
WM_NOTIFYFORMAT
,
sent
|
lparam
,
0
,
NF_QUERY
},
{
WM_NOTIFYFORMAT
,
sent
|
lparam
,
0
,
NF_QUERY
},
{
WM_QUERYUISTATE
,
sent
},
{
WM_QUERYUISTATE
,
sent
|
optional
},
{
WM_PARENTNOTIFY
,
sent
},
{
WM_PARENTNOTIFY
,
sent
},
{
0
}
{
0
}
};
};
...
@@ -196,8 +196,8 @@ static const struct message filterMessages_seq_noninteractive[] = {
...
@@ -196,8 +196,8 @@ static const struct message filterMessages_seq_noninteractive[] = {
{
HDM_SETFILTERCHANGETIMEOUT
,
sent
|
wparam
|
lparam
,
1
,
100
},
{
HDM_SETFILTERCHANGETIMEOUT
,
sent
|
wparam
|
lparam
,
1
,
100
},
{
HDM_CLEARFILTER
,
sent
|
wparam
|
lparam
,
0
,
1
},
{
HDM_CLEARFILTER
,
sent
|
wparam
|
lparam
,
0
,
1
},
{
HDM_EDITFILTER
,
sent
|
wparam
|
lparam
,
1
,
0
},
{
HDM_EDITFILTER
,
sent
|
wparam
|
lparam
,
1
,
0
},
{
WM_PARENTNOTIFY
,
sent
|
wparam
|
defwinproc
,
WM_CREATE
},
{
WM_PARENTNOTIFY
,
sent
|
wparam
|
defwinproc
|
optional
,
WM_CREATE
},
{
WM_COMMAND
,
sent
|
defwinproc
},
{
WM_COMMAND
,
sent
|
defwinproc
|
optional
},
{
0
}
{
0
}
};
};
...
@@ -811,7 +811,7 @@ static void test_hdm_getitemrect(HWND hParent)
...
@@ -811,7 +811,7 @@ static void test_hdm_getitemrect(HWND hParent)
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
);
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"
,
TRU
E
);
"adder header control to parent"
,
FALS
E
);
retVal
=
SendMessage
(
hChild
,
HDM_GETITEMRECT
,
1
,
(
LPARAM
)
&
rect
);
retVal
=
SendMessage
(
hChild
,
HDM_GETITEMRECT
,
1
,
(
LPARAM
)
&
rect
);
ok
(
retVal
==
TRUE
,
"Getting item rect should TRUE, got %d
\n
"
,
retVal
);
ok
(
retVal
==
TRUE
,
"Getting item rect should TRUE, got %d
\n
"
,
retVal
);
...
@@ -855,7 +855,7 @@ static void test_hdm_layout(HWND hParent)
...
@@ -855,7 +855,7 @@ static void test_hdm_layout(HWND hParent)
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
);
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"
,
TRU
E
);
"adder header control to parent"
,
FALS
E
);
flush_sequences
(
sequences
,
NUM_MSG_SEQUENCES
);
flush_sequences
(
sequences
,
NUM_MSG_SEQUENCES
);
retVal
=
SendMessage
(
hChild
,
HDM_LAYOUT
,
0
,
(
LPARAM
)
&
hdLayout
);
retVal
=
SendMessage
(
hChild
,
HDM_LAYOUT
,
0
,
(
LPARAM
)
&
hdLayout
);
...
@@ -874,7 +874,7 @@ static void test_hdm_ordertoindex(HWND hParent)
...
@@ -874,7 +874,7 @@ static void test_hdm_ordertoindex(HWND hParent)
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
);
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"
,
TRU
E
);
"adder header control to parent"
,
FALS
E
);
flush_sequences
(
sequences
,
NUM_MSG_SEQUENCES
);
flush_sequences
(
sequences
,
NUM_MSG_SEQUENCES
);
retVal
=
SendMessage
(
hChild
,
HDM_ORDERTOINDEX
,
1
,
0
);
retVal
=
SendMessage
(
hChild
,
HDM_ORDERTOINDEX
,
1
,
0
);
...
@@ -902,7 +902,7 @@ static void test_hdm_hittest(HWND hParent)
...
@@ -902,7 +902,7 @@ static void test_hdm_hittest(HWND hParent)
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
);
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"
,
TRU
E
);
"adder header control to parent"
,
FALS
E
);
flush_sequences
(
sequences
,
NUM_MSG_SEQUENCES
);
flush_sequences
(
sequences
,
NUM_MSG_SEQUENCES
);
retVal
=
SendMessage
(
hChild
,
HDM_HITTEST
,
0
,
(
LPARAM
)
&
hdHitTestInfo
);
retVal
=
SendMessage
(
hChild
,
HDM_HITTEST
,
0
,
(
LPARAM
)
&
hdHitTestInfo
);
...
@@ -947,7 +947,7 @@ static void test_hdm_sethotdivider(HWND hParent)
...
@@ -947,7 +947,7 @@ static void test_hdm_sethotdivider(HWND hParent)
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
);
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"
,
TRU
E
);
"adder header control to parent"
,
FALS
E
);
flush_sequences
(
sequences
,
NUM_MSG_SEQUENCES
);
flush_sequences
(
sequences
,
NUM_MSG_SEQUENCES
);
todo_wine
todo_wine
...
@@ -978,7 +978,7 @@ static void test_hdm_imageMessages(HWND hParent)
...
@@ -978,7 +978,7 @@ static void test_hdm_imageMessages(HWND hParent)
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
);
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"
,
TRU
E
);
"adder header control to parent"
,
FALS
E
);
flush_sequences
(
sequences
,
NUM_MSG_SEQUENCES
);
flush_sequences
(
sequences
,
NUM_MSG_SEQUENCES
);
...
@@ -1005,7 +1005,7 @@ static void test_hdm_filterMessages(HWND hParent)
...
@@ -1005,7 +1005,7 @@ static void test_hdm_filterMessages(HWND hParent)
hChild
=
create_custom_header_control
(
hParent
,
TRUE
);
hChild
=
create_custom_header_control
(
hParent
,
TRUE
);
assert
(
hChild
);
assert
(
hChild
);
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"
,
TRU
E
);
"adder header control to parent"
,
FALS
E
);
flush_sequences
(
sequences
,
NUM_MSG_SEQUENCES
);
flush_sequences
(
sequences
,
NUM_MSG_SEQUENCES
);
todo_wine
todo_wine
...
@@ -1027,7 +1027,7 @@ static void test_hdm_filterMessages(HWND hParent)
...
@@ -1027,7 +1027,7 @@ static void test_hdm_filterMessages(HWND hParent)
"filterMessages sequence testing"
,
TRUE
);
"filterMessages sequence testing"
,
TRUE
);
else
else
ok_sequence
(
sequences
,
HEADER_SEQ_INDEX
,
filterMessages_seq_noninteractive
,
ok_sequence
(
sequences
,
HEADER_SEQ_INDEX
,
filterMessages_seq_noninteractive
,
"filterMessages sequence testing"
,
TRU
E
);
"filterMessages sequence testing"
,
FALS
E
);
DestroyWindow
(
hChild
);
DestroyWindow
(
hChild
);
}
}
...
@@ -1040,7 +1040,7 @@ static void test_hdm_unicodeformatMessages(HWND hParent)
...
@@ -1040,7 +1040,7 @@ static void test_hdm_unicodeformatMessages(HWND hParent)
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
);
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"
,
TRU
E
);
"adder header control to parent"
,
FALS
E
);
flush_sequences
(
sequences
,
NUM_MSG_SEQUENCES
);
flush_sequences
(
sequences
,
NUM_MSG_SEQUENCES
);
retVal
=
SendMessage
(
hChild
,
HDM_SETUNICODEFORMAT
,
TRUE
,
0
);
retVal
=
SendMessage
(
hChild
,
HDM_SETUNICODEFORMAT
,
TRUE
,
0
);
...
@@ -1061,7 +1061,7 @@ static void test_hdm_bitmapmarginMessages(HWND hParent)
...
@@ -1061,7 +1061,7 @@ static void test_hdm_bitmapmarginMessages(HWND hParent)
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
);
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"
,
TRU
E
);
"adder header control to parent"
,
FALS
E
);
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
);
...
@@ -1100,7 +1100,7 @@ static void test_hdm_index_messages(HWND hParent)
...
@@ -1100,7 +1100,7 @@ static void test_hdm_index_messages(HWND hParent)
"adder header control to parent"
,
TRUE
);
"adder header control to parent"
,
TRUE
);
else
else
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"
,
TRU
E
);
"adder header control to parent"
,
FALS
E
);
flush_sequences
(
sequences
,
NUM_MSG_SEQUENCES
);
flush_sequences
(
sequences
,
NUM_MSG_SEQUENCES
);
for
(
loopcnt
=
0
;
loopcnt
<
4
;
loopcnt
++
)
for
(
loopcnt
=
0
;
loopcnt
<
4
;
loopcnt
++
)
{
{
...
...
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