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
93bd41c3
Commit
93bd41c3
authored
Mar 30, 2014
by
Nikolay Sivov
Committed by
Alexandre Julliard
Mar 31, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3/tests: Check return values (Coverity).
parent
ddbcd241
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
domdoc.c
dlls/msxml3/tests/domdoc.c
+8
-4
No files found.
dlls/msxml3/tests/domdoc.c
View file @
93bd41c3
...
...
@@ -6077,7 +6077,8 @@ static void test_save(void)
hr
=
IXMLDOMDocument_loadXML
(
doc
,
_bstr_
(
"<a/>"
),
&
b
);
EXPECT_HR
(
hr
,
S_OK
);
CreateStreamOnHGlobal
(
NULL
,
TRUE
,
&
stream
);
hr
=
CreateStreamOnHGlobal
(
NULL
,
TRUE
,
&
stream
);
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
V_VT
(
&
dest
)
=
VT_UNKNOWN
;
V_UNKNOWN
(
&
dest
)
=
(
IUnknown
*
)
stream
;
hr
=
IXMLDOMDocument_save
(
doc
,
dest
);
...
...
@@ -8417,7 +8418,8 @@ todo_wine {
hr
=
IXSLProcessor_put_output
(
processor
,
v
);
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
CreateStreamOnHGlobal
(
NULL
,
TRUE
,
&
stream
);
hr
=
CreateStreamOnHGlobal
(
NULL
,
TRUE
,
&
stream
);
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
EXPECT_REF
(
stream
,
1
);
V_VT
(
&
v
)
=
VT_UNKNOWN
;
...
...
@@ -10316,7 +10318,8 @@ static void test_dispex(void)
doc
=
create_document
(
&
IID_IXMLDOMDocument
);
IXMLDOMDocument_QueryInterface
(
doc
,
&
IID_IUnknown
,
(
void
**
)
&
unk
);
hr
=
IXMLDOMDocument_QueryInterface
(
doc
,
&
IID_IUnknown
,
(
void
**
)
&
unk
);
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
test_domobj_dispex
(
unk
);
IUnknown_Release
(
unk
);
...
...
@@ -10349,7 +10352,8 @@ static void test_dispex(void)
/* IXMLDOMNodeList for children list */
hr
=
IXMLDOMDocument_get_childNodes
(
doc
,
&
node_list
);
EXPECT_HR
(
hr
,
S_OK
);
IXMLDOMNodeList_QueryInterface
(
node_list
,
&
IID_IUnknown
,
(
void
**
)
&
unk
);
hr
=
IXMLDOMNodeList_QueryInterface
(
node_list
,
&
IID_IUnknown
,
(
void
**
)
&
unk
);
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
test_domobj_dispex
(
unk
);
IUnknown_Release
(
unk
);
...
...
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