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
2e1aa43a
Commit
2e1aa43a
authored
Dec 25, 2009
by
Nikolay Sivov
Committed by
Alexandre Julliard
Dec 28, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/tests: Skip test on <5.8x systems.
parent
d87b1d49
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
updown.c
dlls/comctl32/tests/updown.c
+11
-5
No files found.
dlls/comctl32/tests/updown.c
View file @
2e1aa43a
...
...
@@ -375,12 +375,18 @@ static void test_updown_pos(void)
SetWindowTextA
(
g_edit
,
"50"
);
updown
=
create_updown_control
(
UDS_ALIGNRIGHT
|
UDS_SETBUDDYINT
,
g_edit
);
flush_sequences
(
sequences
,
NUM_MSG_SEQUENCES
);
/* test sequence only on 5.8x versions */
r
=
SendMessage
(
updown
,
UDM_GETPOS32
,
0
,
0
);
if
(
r
)
{
flush_sequences
(
sequences
,
NUM_MSG_SEQUENCES
);
r
=
SendMessage
(
updown
,
UDM_SETPOS
,
0
,
50
);
expect
(
50
,
r
);
ok_sequence
(
sequences
,
EDIT_SEQ_INDEX
,
test_updown_pos_nochange_seq
,
"test updown pos, no change"
,
FALSE
);
r
=
SendMessage
(
updown
,
UDM_SETPOS
,
0
,
50
);
expect
(
50
,
r
);
ok_sequence
(
sequences
,
EDIT_SEQ_INDEX
,
test_updown_pos_nochange_seq
,
"test updown pos, no change"
,
FALSE
);
}
DestroyWindow
(
updown
);
}
...
...
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