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
fad20c9c
Commit
fad20c9c
authored
Nov 11, 2007
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Nov 13, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Enable test for bad argument / fix memory leak.
parent
8de2d529
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
domdoc.c
dlls/msxml3/tests/domdoc.c
+4
-6
No files found.
dlls/msxml3/tests/domdoc.c
View file @
fad20c9c
...
...
@@ -405,12 +405,9 @@ static void test_domdoc( void )
ok
(
b
==
VARIANT_TRUE
,
"failed to load XML string
\n
"
);
SysFreeString
(
str
);
/* try with a null out pointer - crashes */
if
(
0
)
{
r
=
IXMLDOMDocument_get_documentElement
(
doc
,
NULL
);
ok
(
r
==
S_OK
,
"should be no document element
\n
"
);
}
/* try with a null out pointer */
r
=
IXMLDOMDocument_get_documentElement
(
doc
,
NULL
);
ok
(
r
==
E_INVALIDARG
,
"should be no document element
\n
"
);
/* check if nodename is correct */
r
=
IXMLDOMDocument_get_nodeName
(
doc
,
NULL
);
...
...
@@ -704,6 +701,7 @@ todo_wine
r
=
IXMLDOMNode_get_baseName
(
node
,
&
str
);
ok
(
r
==
S_OK
,
"get_baseName returned wrong code
\n
"
);
ok
(
lstrcmpW
(
str
,
szdl
)
==
0
,
"basename was wrong
\n
"
);
SysFreeString
(
str
);
r
=
IXMLDOMNode_get_nodeValue
(
node
,
&
var
);
ok
(
r
==
S_OK
,
"returns %08x
\n
"
,
r
);
...
...
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