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
1b06662f
Commit
1b06662f
authored
Feb 17, 2016
by
Nikolay Sivov
Committed by
Alexandre Julliard
Feb 17, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet/tests: Use todo_wine_if() in tests.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
fd00c9db
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
9 deletions
+3
-9
internet.c
dlls/wininet/tests/internet.c
+3
-9
No files found.
dlls/wininet/tests/internet.c
View file @
1b06662f
...
...
@@ -1503,16 +1503,12 @@ static void test_InternetErrorDlg(void)
default:
break
;
}
if
(
test_flags
&
FLAG_TODO
)
todo_wine
ok
(
res
==
expected
,
"Got %d, expected %d (%d)
\n
"
,
res
,
expected
,
i
);
else
todo_wine_if
(
test_flags
&
FLAG_TODO
)
ok
(
res
==
expected
,
"Got %d, expected %d (%d)
\n
"
,
res
,
expected
,
i
);
/* Same thing with NULL hwnd */
res
=
InternetErrorDlg
(
NULL
,
req
,
i
,
flags
,
NULL
);
if
(
test_flags
&
FLAG_TODO
)
todo_wine
ok
(
res
==
expected
,
"Got %d, expected %d (%d)
\n
"
,
res
,
expected
,
i
);
else
todo_wine_if
(
test_flags
&
FLAG_TODO
)
ok
(
res
==
expected
,
"Got %d, expected %d (%d)
\n
"
,
res
,
expected
,
i
);
...
...
@@ -1521,9 +1517,7 @@ static void test_InternetErrorDlg(void)
expected
=
ERROR_INVALID_PARAMETER
;
res
=
InternetErrorDlg
(
hwnd
,
NULL
,
i
,
flags
,
NULL
);
if
(
test_flags
&
FLAG_TODO
||
i
==
ERROR_INTERNET_INCORRECT_PASSWORD
)
todo_wine
ok
(
res
==
expected
,
"Got %d, expected %d (%d)
\n
"
,
res
,
expected
,
i
);
else
todo_wine_if
(
test_flags
&
FLAG_TODO
||
i
==
ERROR_INTERNET_INCORRECT_PASSWORD
)
ok
(
res
==
expected
,
"Got %d, expected %d (%d)
\n
"
,
res
,
expected
,
i
);
}
...
...
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