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
f35673e9
Commit
f35673e9
authored
Nov 16, 2007
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Nov 21, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml: Tests for createTextNode.
parent
43d92f4d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
domdoc.c
dlls/msxml3/tests/domdoc.c
+10
-0
No files found.
dlls/msxml3/tests/domdoc.c
View file @
f35673e9
...
...
@@ -333,6 +333,7 @@ static void test_domdoc( void )
IXMLDOMParseError
*
error
;
IXMLDOMElement
*
element
=
NULL
;
IXMLDOMNode
*
node
;
IXMLDOMText
*
nodetext
=
NULL
;
VARIANT_BOOL
b
;
VARIANT
var
;
BSTR
str
;
...
...
@@ -488,6 +489,15 @@ static void test_domdoc( void )
ok
(
code
==
0
,
"code %ld
\n
"
,
code
);
IXMLDOMParseError_Release
(
error
);
/* test createTextNode */
str
=
SysAllocString
(
szOpen
);
r
=
IXMLDOMDocument_createTextNode
(
doc
,
str
,
NULL
);
ok
(
r
==
E_INVALIDARG
,
"returns %08x
\n
"
,
r
);
r
=
IXMLDOMDocument_createTextNode
(
doc
,
str
,
&
nodetext
);
ok
(
r
==
S_OK
,
"returns %08x
\n
"
,
r
);
IXMLDOMText_Release
(
nodetext
);
SysFreeString
(
str
);
r
=
IXMLDOMDocument_Release
(
doc
);
ok
(
r
==
0
,
"document ref count incorrect
\n
"
);
...
...
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