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
6d4a4fc4
Commit
6d4a4fc4
authored
Oct 21, 2009
by
Paul Vriens
Committed by
Alexandre Julliard
Oct 21, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32/tests: Fix a test failure on some Vista boxes.
parent
e1bf800b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
appbar.c
dlls/shell32/tests/appbar.c
+10
-1
No files found.
dlls/shell32/tests/appbar.c
View file @
6d4a4fc4
...
...
@@ -205,6 +205,7 @@ static void test_setpos(void)
RECT
rc
;
int
screen_width
,
screen_height
;
BOOL
ret
;
int
org_bottom1
;
screen_width
=
GetSystemMetrics
(
SM_CXSCREEN
);
screen_height
=
GetSystemMetrics
(
SM_CYSCREEN
);
...
...
@@ -336,6 +337,9 @@ static void test_setpos(void)
/* removing windows[0] will cause windows[1] to move down into its space */
expected_bottom
=
max
(
windows
[
0
].
allocated_rect
.
bottom
,
windows
[
1
].
allocated_rect
.
bottom
);
org_bottom1
=
windows
[
1
].
allocated_rect
.
bottom
;
ok
(
windows
[
0
].
allocated_rect
.
bottom
>
windows
[
1
].
allocated_rect
.
bottom
,
"Expected windows[0] to be lower than windows[1]
\n
"
);
abd
.
hWnd
=
windows
[
0
].
hwnd
;
windows
[
0
].
to_be_deleted
=
TRUE
;
...
...
@@ -346,7 +350,12 @@ static void test_setpos(void)
do_events_until
(
got_expected_bottom
);
ok
(
windows
[
1
].
allocated_rect
.
bottom
==
expected_bottom
,
"windows[1]'s bottom is %i, expected %i
\n
"
,
windows
[
1
].
allocated_rect
.
bottom
,
expected_bottom
);
if
(
windows
[
1
].
allocated_rect
.
bottom
==
org_bottom1
)
win_skip
(
"Some broken Vista boxes don't move the higher appbar down
\n
"
);
else
ok
(
windows
[
1
].
allocated_rect
.
bottom
==
expected_bottom
,
"windows[1]'s bottom is %i, expected %i
\n
"
,
windows
[
1
].
allocated_rect
.
bottom
,
expected_bottom
);
test_window_rects
(
1
,
2
);
...
...
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