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
e6edbc45
Commit
e6edbc45
authored
Jan 15, 2010
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jan 18, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3/tests: Fix interface leak and message typo.
parent
f9cb6311
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
domdoc.c
dlls/msxml3/tests/domdoc.c
+3
-2
No files found.
dlls/msxml3/tests/domdoc.c
View file @
e6edbc45
...
@@ -509,8 +509,8 @@ static char *list_to_string(IXMLDOMNodeList *list)
...
@@ -509,8 +509,8 @@ static char *list_to_string(IXMLDOMNodeList *list)
return
buf
;
return
buf
;
}
}
#define expect_node(node, expstr) { char str[4096]; node_to_string(node, str); ok(strcmp(str, expstr)==0, "Invalid node: %s, exp
t
ected %s\n", str, expstr); }
#define expect_node(node, expstr) { char str[4096]; node_to_string(node, str); ok(strcmp(str, expstr)==0, "Invalid node: %s, expected %s\n", str, expstr); }
#define expect_list_and_release(list, expstr) { char *str = list_to_string(list); ok(strcmp(str, expstr)==0, "Invalid node list: %s, exp
t
ected %s\n", str, expstr); if (list) IXMLDOMNodeList_Release(list); }
#define expect_list_and_release(list, expstr) { char *str = list_to_string(list); ok(strcmp(str, expstr)==0, "Invalid node list: %s, expected %s\n", str, expstr); if (list) IXMLDOMNodeList_Release(list); }
static
void
test_domdoc
(
void
)
static
void
test_domdoc
(
void
)
{
{
...
@@ -1071,6 +1071,7 @@ static void test_domnode( void )
...
@@ -1071,6 +1071,7 @@ static void test_domnode( void )
r
=
IXMLDOMNode_get_ownerDocument
(
element
,
&
owner
);
r
=
IXMLDOMNode_get_ownerDocument
(
element
,
&
owner
);
ok
(
r
==
S_OK
,
"get_ownerDocument return code
\n
"
);
ok
(
r
==
S_OK
,
"get_ownerDocument return code
\n
"
);
ok
(
owner
!=
doc
,
"get_ownerDocument return
\n
"
);
ok
(
owner
!=
doc
,
"get_ownerDocument return
\n
"
);
IXMLDOMDocument_Release
(
owner
);
type
=
NODE_INVALID
;
type
=
NODE_INVALID
;
r
=
IXMLDOMNode_get_nodeType
(
element
,
&
type
);
r
=
IXMLDOMNode_get_nodeType
(
element
,
&
type
);
...
...
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