Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
2841755c
Commit
2841755c
authored
Aug 21, 2008
by
Piotr Caban
Committed by
Alexandre Julliard
Aug 22, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Added IDispatchEx QueryInterface test.
parent
3e3a5b18
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
domdoc.c
dlls/msxml3/tests/domdoc.c
+10
-0
schema.c
dlls/msxml3/tests/schema.c
+1
-0
No files found.
dlls/msxml3/tests/domdoc.c
View file @
2841755c
...
...
@@ -26,6 +26,7 @@
#include "ole2.h"
#include "xmldom.h"
#include "msxml2.h"
#include "dispex.h"
#include <stdio.h>
#include <assert.h>
...
...
@@ -1298,6 +1299,7 @@ static void test_refs(void)
r
=
IXMLDOMElement_get_childNodes
(
element
,
&
node_list
);
ok
(
r
==
S_OK
,
"rets %08x
\n
"
,
r
);
ref
=
IXMLDOMNodeList_AddRef
(
node_list
);
ok
(
ref
==
2
,
"ref %d
\n
"
,
ref
);
IXMLDOMNodeList_Release
(
node_list
);
...
...
@@ -1518,6 +1520,7 @@ static void test_getElementsByTagName(void)
VARIANT_BOOL
b
;
IXMLDOMDocument
*
doc
;
IXMLDOMNodeList
*
node_list
;
IDispatchEx
*
dispex
;
long
len
;
r
=
CoCreateInstance
(
&
CLSID_DOMDocument
,
NULL
,
...
...
@@ -1537,6 +1540,13 @@ static void test_getElementsByTagName(void)
r
=
IXMLDOMNodeList_get_length
(
node_list
,
&
len
);
ok
(
r
==
S_OK
,
"ret %08x
\n
"
,
r
);
ok
(
len
==
6
,
"len %ld
\n
"
,
len
);
r
=
IXMLDOMNodeList_QueryInterface
(
node_list
,
&
IID_IDispatchEx
,
(
void
**
)
&
dispex
);
ok
(
r
==
S_OK
,
"rets %08x
\n
"
,
r
);
if
(
r
==
S_OK
)
IDispatchEx_Release
(
dispex
);
IXMLDOMNodeList_Release
(
node_list
);
SysFreeString
(
str
);
...
...
dlls/msxml3/tests/schema.c
View file @
2841755c
...
...
@@ -26,6 +26,7 @@
#include "ole2.h"
#include "xmldom.h"
#include "msxml2.h"
#include "dispex.h"
#include "wine/test.h"
...
...
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