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
be27c23d
Commit
be27c23d
authored
Feb 11, 2016
by
Nikolay Sivov
Committed by
Alexandre Julliard
Feb 12, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comdlg32/tests: Simplify a test using todo_wine_if().
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
2abec634
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
10 deletions
+1
-10
filedlg.c
dlls/comdlg32/tests/filedlg.c
+1
-10
No files found.
dlls/comdlg32/tests/filedlg.c
View file @
be27c23d
...
...
@@ -395,8 +395,7 @@ static UINT_PTR WINAPI resize_template_hook(HWND dlg, UINT msg, WPARAM wParam, L
}
else
if
(
count
==
1
){
resize
=
resize_testcases
[
index
].
resize_check
;
GetWindowRect
(
parent
,
&
rc
);
if
(
resize_testcases
[
index
].
todo
){
todo_wine
{
todo_wine_if
(
resize_testcases
[
index
].
todo
){
ok
(
resize
==
rc
.
right
-
rc
.
left
-
initrc
.
right
+
initrc
.
left
,
"testid %d size-x change %d expected %d
\n
"
,
index
,
rc
.
right
-
rc
.
left
-
initrc
.
right
+
initrc
.
left
,
resize
);
...
...
@@ -404,14 +403,6 @@ static UINT_PTR WINAPI resize_template_hook(HWND dlg, UINT msg, WPARAM wParam, L
"testid %d size-y change %d expected %d
\n
"
,
index
,
rc
.
bottom
-
rc
.
top
-
initrc
.
bottom
+
initrc
.
top
,
resize
);
}
}
else
{
ok
(
resize
==
rc
.
right
-
rc
.
left
-
initrc
.
right
+
initrc
.
left
,
"testid %d size-x change %d expected %d
\n
"
,
index
,
rc
.
right
-
rc
.
left
-
initrc
.
right
+
initrc
.
left
,
resize
);
ok
(
resize
==
rc
.
bottom
-
rc
.
top
-
initrc
.
bottom
+
initrc
.
top
,
"testid %d size-y change %d expected %d
\n
"
,
index
,
rc
.
bottom
-
rc
.
top
-
initrc
.
bottom
+
initrc
.
top
,
resize
);
}
if
(
resize_testcases
[
index
].
testcontrols
)
{
int
i
;
RECT
rc
;
...
...
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