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
25e5daf8
Commit
25e5daf8
authored
May 13, 2014
by
Huw Davies
Committed by
Alexandre Julliard
May 13, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3/tests: Don't test the values of alignment holes in the variant structure.
parent
29237d83
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
schema.c
dlls/msxml3/tests/schema.c
+3
-7
No files found.
dlls/msxml3/tests/schema.c
View file @
25e5daf8
...
...
@@ -1275,24 +1275,20 @@ static void test_XDR_datatypes(void)
while
(
ptr
->
query
)
{
IXMLDOMNode
*
node
=
NULL
;
VARIANT
type
,
testv
;
VARIANT
type
;
/* check data types without the schema */
memset
(
&
testv
,
-
1
,
sizeof
(
VARIANT
));
V_VT
(
&
testv
)
=
VT_NULL
;
V_BSTR
(
&
testv
)
=
NULL
;
hr
=
IXMLDOMDocument2_selectSingleNode
(
doc
,
_bstr_
(
ptr
->
query
),
&
node
);
EXPECT_HR
(
hr
,
S_OK
);
ok
(
node
!=
NULL
,
"expected node
\n
"
);
memset
(
&
type
,
-
1
,
sizeof
(
VARIANT
));
V_VT
(
&
type
)
=
VT_EMPTY
;
V_BSTR
(
&
type
)
=
(
void
*
)
-
1
;
hr
=
IXMLDOMNode_get_dataType
(
node
,
&
type
);
EXPECT_HR
(
hr
,
S_FALSE
);
ok
(
V_VT
(
&
type
)
==
VT_NULL
,
"got type %i
\n
"
,
V_VT
(
&
type
));
/* when returning VT_NULL, the pointer is set to NULL */
ok
(
!
memcmp
(
&
testv
,
&
type
,
sizeof
(
VARIANT
))
,
"got %p
\n
"
,
V_BSTR
(
&
type
));
ok
(
V_BSTR
(
&
type
)
==
NULL
,
"got %p
\n
"
,
V_BSTR
(
&
type
));
VariantClear
(
&
type
);
hr
=
IXMLDOMNode_get_nodeTypedValue
(
node
,
&
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