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
5a91bea3
Commit
5a91bea3
authored
Sep 19, 2010
by
Nikolay Sivov
Committed by
Alexandre Julliard
Sep 20, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3/tests: Fix locale dependent string comparison.
parent
9724a432
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
8 deletions
+14
-8
domdoc.c
dlls/msxml3/tests/domdoc.c
+14
-8
No files found.
dlls/msxml3/tests/domdoc.c
View file @
5a91bea3
...
...
@@ -5073,22 +5073,28 @@ static void test_nodeTypedValue(void)
if
(
entry
->
type
!=
VT_BSTR
)
{
if
(
entry
->
type
==
VT_DATE
)
if
(
entry
->
type
==
VT_DATE
||
entry
->
type
==
VT_R8
||
entry
->
type
==
VT_CY
)
{
hr
=
VariantChangeType
(
&
value
,
&
value
,
0
,
VT_R4
);
if
(
entry
->
type
==
VT_DATE
)
{
hr
=
VariantChangeType
(
&
value
,
&
value
,
0
,
VT_R4
);
ok
(
hr
==
S_OK
,
"ret %08x
\n
"
,
hr
);
}
hr
=
VariantChangeTypeEx
(
&
value
,
&
value
,
MAKELCID
(
MAKELANGID
(
LANG_ENGLISH
,
SUBLANG_DEFAULT
),
SORT_DEFAULT
),
VARIANT_NOUSEROVERRIDE
,
VT_BSTR
);
ok
(
hr
==
S_OK
,
"ret %08x
\n
"
,
hr
);
hr
=
VariantChangeType
(
&
value
,
&
value
,
0
,
VT_BSTR
);
ok
(
hr
==
S_OK
,
"ret %08x
\n
"
,
hr
);
ok
(
lstrcmpW
(
V_BSTR
(
&
value
),
_bstr_
(
entry
->
value
))
==
0
,
"expected %s, got %s
\n
"
,
entry
->
value
,
wine_dbgstr_w
(
V_BSTR
(
&
value
)));
}
else
{
hr
=
VariantChangeType
(
&
value
,
&
value
,
0
,
VT_BSTR
);
ok
(
hr
==
S_OK
,
"ret %08x
\n
"
,
hr
);
ok
(
lstrcmpW
(
V_BSTR
(
&
value
),
_bstr_
(
entry
->
value
))
==
0
,
"expected %s, got %s
\n
"
,
entry
->
value
,
wine_dbgstr_w
(
V_BSTR
(
&
value
)));
}
ok
(
lstrcmpW
(
V_BSTR
(
&
value
),
_bstr_
(
entry
->
value
))
==
0
,
"expected %s, got %s
\n
"
,
entry
->
value
,
wine_dbgstr_w
(
V_BSTR
(
&
value
)));
}
else
ok
(
lstrcmpW
(
V_BSTR
(
&
value
),
_bstr_
(
entry
->
value
))
==
0
,
...
...
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