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
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
4 deletions
+13
-4
xmldoc.c
dlls/msxml3/tests/xmldoc.c
+13
-4
No files found.
dlls/msxml3/tests/xmldoc.c
View file @
9e8c0e54
...
@@ -270,17 +270,26 @@ static void test_createElement(void)
...
@@ -270,17 +270,26 @@ static void test_createElement(void)
V_I4
(
&
vType
)
=
-
1
;
V_I4
(
&
vType
)
=
-
1
;
V_VT
(
&
vName
)
=
VT_NULL
;
V_VT
(
&
vName
)
=
VT_NULL
;
hr
=
IXMLDocument_createElement
(
doc
,
vType
,
vName
,
&
element
);
hr
=
IXMLDocument_createElement
(
doc
,
vType
,
vName
,
&
element
);
ok
(
hr
==
E_NOTIMPL
,
"Expected E_NOTIMPL, got %d
\n
"
,
hr
);
/* Upto and including SP7, createElement returns an element. */
ok
(
element
==
NULL
,
"Expected NULL element
\n
"
);
if
(
hr
==
S_OK
)
{
ok
(
element
!=
NULL
,
"Expected element
\n
"
);
if
(
element
!=
NULL
)
if
(
element
!=
NULL
)
{
{
hr
=
IXMLElement_get_type
(
element
,
&
type
);
hr
=
IXMLElement_get_type
(
element
,
&
type
);
ok
(
hr
==
S_OK
,
"Expected S_OK, got %d
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"Expected S_OK, got %d
\n
"
,
hr
);
ok
(
type
==
XMLELEMTYPE_OTHER
,
"Expected XMLELEMTYPE_OTHER, got %ld
\n
"
,
type
);
/* SP7 returns an XMLELEMTYPE_ELEMENT */
ok
(
type
==
XMLELEMTYPE_OTHER
||
type
==
XMLELEMTYPE_ELEMENT
,
"Expected XMLELEMTYPE_OTHER || XMLELEMTYPE_ELEMENT, got %ld
\n
"
,
type
);
IXMLElement_Release
(
element
);
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 */
/* invalid vName type */
V_VT
(
&
vType
)
=
VT_I4
;
V_VT
(
&
vType
)
=
VT_I4
;
...
...
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