Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
25d999d9
Commit
25d999d9
authored
Feb 16, 2016
by
Jactry Zeng
Committed by
Alexandre Julliard
Feb 16, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mlang/tests: Simplify test with todo_wine_if.
Signed-off-by:
Jactry Zeng
<
jzeng@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
2689b7b1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
10 deletions
+1
-10
mlang.c
dlls/mlang/tests/mlang.c
+1
-10
No files found.
dlls/mlang/tests/mlang.c
View file @
25d999d9
...
...
@@ -1216,8 +1216,7 @@ static void test_GetRfc1766Info(IMultiLanguage2 *iML2)
short_broken_name
[
MAX_LOCALE_NAME
-
2
]
=
0
;
}
if
(
info_table
[
i
].
todo
&
TODO_NAME
)
{
todo_wine
todo_wine_if
(
info_table
[
i
].
todo
&
TODO_NAME
)
{
ok
(
(
!
lstrcmpW
(
prfc
->
wszLocaleName
,
info_table
[
i
].
localename
))
||
(
info_table
[
i
].
broken_name
&&
(
broken
(
!
lstrcmpW
(
prfc
->
wszLocaleName
,
info_table
[
i
].
broken_name
))
||
/* IE < 6.0 */
...
...
@@ -1225,14 +1224,6 @@ static void test_GetRfc1766Info(IMultiLanguage2 *iML2)
"#%02d: got %s (expected %s)
\n
"
,
i
,
wine_dbgstr_w
(
prfc
->
wszLocaleName
),
wine_dbgstr_w
(
info_table
[
i
].
localename
));
}
else
ok
(
(
!
lstrcmpW
(
prfc
->
wszLocaleName
,
info_table
[
i
].
localename
))
||
(
info_table
[
i
].
broken_name
&&
(
broken
(
!
lstrcmpW
(
prfc
->
wszLocaleName
,
info_table
[
i
].
broken_name
))
||
/* IE < 6.0 */
broken
(
!
lstrcmpW
(
prfc
->
wszLocaleName
,
short_broken_name
)))),
"#%02d: got %s (expected %s)
\n
"
,
i
,
wine_dbgstr_w
(
prfc
->
wszLocaleName
),
wine_dbgstr_w
(
info_table
[
i
].
localename
));
}
/* SUBLANG_NEUTRAL only allowed for English, Arabic, Chinese */
...
...
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