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
9e8c0e54
Commit
9e8c0e54
authored
Feb 13, 2008
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Feb 12, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Corrected tests for msxml service packs versions.
parent
56d085cc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
9 deletions
+18
-9
xmldoc.c
dlls/msxml3/tests/xmldoc.c
+18
-9
No files found.
dlls/msxml3/tests/xmldoc.c
View file @
9e8c0e54
...
...
@@ -270,16 +270,25 @@ static void test_createElement(void)
V_I4
(
&
vType
)
=
-
1
;
V_VT
(
&
vName
)
=
VT_NULL
;
hr
=
IXMLDocument_createElement
(
doc
,
vType
,
vName
,
&
element
);
ok
(
hr
==
E_NOTIMPL
,
"Expected E_NOTIMPL, got %d
\n
"
,
hr
);
ok
(
element
==
NULL
,
"Expected NULL element
\n
"
);
if
(
element
!=
NULL
)
/* Upto and including SP7, createElement returns an element. */
if
(
hr
==
S_OK
)
{
hr
=
IXMLElement_get_type
(
element
,
&
type
);
ok
(
hr
==
S_OK
,
"Expected S_OK, got %d
\n
"
,
hr
);
ok
(
type
==
XMLELEMTYPE_OTHER
,
"Expected XMLELEMTYPE_OTHER, got %ld
\n
"
,
type
);
IXMLElement_Release
(
element
);
ok
(
element
!=
NULL
,
"Expected element
\n
"
);
if
(
element
!=
NULL
)
{
hr
=
IXMLElement_get_type
(
element
,
&
type
);
ok
(
hr
==
S_OK
,
"Expected S_OK, got %d
\n
"
,
hr
);
/* SP7 returns an XMLELEMTYPE_ELEMENT */
ok
(
type
==
XMLELEMTYPE_OTHER
||
type
==
XMLELEMTYPE_ELEMENT
,
"Expected XMLELEMTYPE_OTHER || XMLELEMTYPE_ELEMENT, got %ld
\n
"
,
type
);
IXMLElement_Release
(
element
);
}
}
else
{
ok
(
hr
==
E_NOTIMPL
,
"Expected E_NOTIMPL, got %d
\n
"
,
hr
);
ok
(
element
==
NULL
,
"Expected NULL element
\n
"
);
}
/* invalid vName 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