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
bb83794e
Commit
bb83794e
authored
Apr 15, 2012
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Apr 16, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32/tests: Compare the correct variants.
parent
3f0af44f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
usrmarshal.c
dlls/oleaut32/tests/usrmarshal.c
+2
-2
No files found.
dlls/oleaut32/tests/usrmarshal.c
View file @
bb83794e
...
...
@@ -1286,7 +1286,7 @@ static void test_marshal_VARIANT(void)
next
=
VARIANT_UserUnmarshal
(
&
umcb
.
Flags
,
buffer
,
&
v2
);
ok
(
next
==
buffer
+
expected
,
"got %p expect %p
\n
"
,
next
,
buffer
+
expected
);
ok
(
V_VT
(
&
v
)
==
V_VT
(
&
v2
),
"got vt %d expect %d
\n
"
,
V_VT
(
&
v
),
V_VT
(
&
v2
));
ok
(
SafeArrayGetDim
(
V_ARRAY
(
&
v
))
==
SafeArrayGetDim
(
V_ARRAY
(
&
v
)),
"array dims differ
\n
"
);
ok
(
SafeArrayGetDim
(
V_ARRAY
(
&
v
))
==
SafeArrayGetDim
(
V_ARRAY
(
&
v
2
)),
"array dims differ
\n
"
);
SafeArrayGetLBound
(
V_ARRAY
(
&
v
),
1
,
&
bound
);
SafeArrayGetLBound
(
V_ARRAY
(
&
v2
),
1
,
&
bound2
);
ok
(
bound
==
bound2
,
"array lbounds differ
\n
"
);
...
...
@@ -1329,7 +1329,7 @@ static void test_marshal_VARIANT(void)
next
=
VARIANT_UserUnmarshal
(
&
umcb
.
Flags
,
buffer
,
&
v2
);
ok
(
next
==
buffer
+
expected
,
"got %p expect %p
\n
"
,
next
,
buffer
+
expected
);
ok
(
V_VT
(
&
v
)
==
V_VT
(
&
v2
),
"got vt %d expect %d
\n
"
,
V_VT
(
&
v
),
V_VT
(
&
v2
));
ok
(
SafeArrayGetDim
(
*
V_ARRAYREF
(
&
v
))
==
SafeArrayGetDim
(
*
V_ARRAYREF
(
&
v
)),
"array dims differ
\n
"
);
ok
(
SafeArrayGetDim
(
*
V_ARRAYREF
(
&
v
))
==
SafeArrayGetDim
(
*
V_ARRAYREF
(
&
v
2
)),
"array dims differ
\n
"
);
SafeArrayGetLBound
(
*
V_ARRAYREF
(
&
v
),
1
,
&
bound
);
SafeArrayGetLBound
(
*
V_ARRAYREF
(
&
v2
),
1
,
&
bound2
);
ok
(
bound
==
bound2
,
"array lbounds differ
\n
"
);
...
...
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