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
318c7b24
Commit
318c7b24
authored
Dec 09, 2009
by
Huw Davies
Committed by
Alexandre Julliard
Dec 09, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Correctly test the variant returned by get_nodeValue.
Found by Valgrind.
parent
daf99d4b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
domdoc.c
dlls/msxml3/tests/domdoc.c
+4
-1
No files found.
dlls/msxml3/tests/domdoc.c
View file @
318c7b24
...
...
@@ -3085,6 +3085,8 @@ static void test_xmlTypes(void)
IXMLDOMNode
*
pNextChild
=
(
IXMLDOMNode
*
)
0x1
;
VARIANT
var
;
VariantInit
(
&
var
);
hr
=
IXMLDOMCDATASection_QueryInterface
(
pCDataSec
,
&
IID_IXMLDOMElement
,
(
LPVOID
*
)
&
pElement
);
ok
(
hr
==
E_NOINTERFACE
,
"ret %08x
\n
"
,
hr
);
...
...
@@ -3155,7 +3157,8 @@ static void test_xmlTypes(void)
/* test get nodeValue */
hr
=
IXMLDOMCDATASection_get_nodeValue
(
pCDataSec
,
&
var
);
ok
(
hr
==
S_OK
,
"ret %08x
\n
"
,
hr
);
ok
(
!
lstrcmpW
(
str
,
_bstr_
(
"This &is a ; test <>
\\
"
)
),
"incorrect text string
\n
"
);
ok
(
V_VT
(
&
var
)
==
VT_BSTR
,
"got vt %04x
\n
"
,
V_VT
(
&
var
));
ok
(
!
lstrcmpW
(
V_BSTR
(
&
var
),
_bstr_
(
"This &is a ; test <>
\\
"
)
),
"incorrect text string
\n
"
);
VariantClear
(
&
var
);
/* test get data */
...
...
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