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
b6216a06
Commit
b6216a06
authored
May 09, 2023
by
Zhiyi Zhang
Committed by
Alexandre Julliard
May 09, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oledb32/tests: Test converting DBTYPE_VARIANT to DBTYPE_VARIANT.
parent
6a58b25b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
convert.c
dlls/oledb32/tests/convert.c
+15
-0
No files found.
dlls/oledb32/tests/convert.c
View file @
b6216a06
...
...
@@ -3943,6 +3943,21 @@ static void test_converttovar(void)
ok
(
dst_status
==
DBSTATUS_S_ISNULL
,
"got %08lx
\n
"
,
dst_status
);
ok
(
dst_len
==
sizeof
(
VARIANT
),
"got %Id
\n
"
,
dst_len
);
dst_len
=
44
;
V_VT
(
&
var
)
=
VT_UINT
;
V_UINT
(
&
var
)
=
1234
;
hr
=
IDataConvert_DataConvert
(
convert
,
DBTYPE_VARIANT
,
DBTYPE_VARIANT
,
0
,
&
dst_len
,
&
var
,
&
dst
,
sizeof
(
dst
),
0
,
&
dst_status
,
0
,
0
,
0
);
todo_wine
ok
(
hr
==
S_OK
,
"got %08lx
\n
"
,
hr
);
todo_wine
ok
(
dst_status
==
DBSTATUS_S_OK
,
"got %08lx
\n
"
,
dst_status
);
todo_wine
ok
(
dst_len
==
sizeof
(
VARIANT
),
"got %Id
\n
"
,
dst_len
);
todo_wine
ok
(
V_VT
(
&
dst
)
==
VT_UINT
,
"got %d
\n
"
,
V_VT
(
&
dst
));
todo_wine
ok
(
V_UINT
(
&
dst
)
==
1234
,
"got %u
\n
"
,
V_UINT
(
&
dst
));
VariantClear
(
&
dst
);
}
static
void
test_converttotimestamp
(
void
)
...
...
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