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
5e1ac66b
Commit
5e1ac66b
authored
Sep 03, 2008
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Sep 03, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Add IDispatchEx test.
parent
6bb30907
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
domdoc.c
dlls/msxml3/tests/domdoc.c
+8
-0
No files found.
dlls/msxml3/tests/domdoc.c
View file @
5e1ac66b
...
...
@@ -1877,6 +1877,7 @@ static void test_IXMLDOMDocument2(void)
BSTR
str
;
IXMLDOMDocument
*
doc
;
IXMLDOMDocument2
*
doc2
;
IDispatchEx
*
dispex
;
VARIANT
var
;
int
ref
;
...
...
@@ -1895,6 +1896,13 @@ static void test_IXMLDOMDocument2(void)
ok
(
r
==
S_OK
,
"ret %08x
\n
"
,
r
);
ok
(
doc
==
(
IXMLDOMDocument
*
)
doc2
,
"interfaces differ
\n
"
);
r
=
IXMLDOMDocument_QueryInterface
(
doc
,
&
IID_IDispatchEx
,
(
void
**
)
&
dispex
);
ok
(
r
==
S_OK
,
"ret %08x
\n
"
,
r
);
if
(
r
==
S_OK
)
{
IDispatchEx_Release
(
dispex
);
}
/* we will check if the variant got cleared */
ref
=
IXMLDOMDocument2_AddRef
(
doc2
);
expect_eq
(
ref
,
3
,
int
,
"%d"
);
/* doc, doc2, AddRef*/
...
...
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