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
513feedf
Commit
513feedf
authored
Jan 22, 2022
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Jan 24, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msdasql/tests: Test for ITransaction* interfaces on a session.
Signed-off-by:
Alistair Leslie-Hughes
<
leslie_alistair@hotmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d8d1acef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
provider.c
dlls/msdasql/tests/provider.c
+16
-0
No files found.
dlls/msdasql/tests/provider.c
View file @
513feedf
...
...
@@ -409,6 +409,9 @@ static void test_sessions(void)
IGetDataSource
*
datasource
=
NULL
;
ISessionProperties
*
session_props
=
NULL
;
IUnknown
*
unimplemented
=
NULL
;
ITransaction
*
transaction
=
NULL
;
ITransactionLocal
*
local
=
NULL
;
ITransactionObject
*
object
=
NULL
;
ITransactionJoin
*
join
=
NULL
;
IUnknown
*
cmd
=
NULL
;
HRESULT
hr
;
...
...
@@ -463,6 +466,19 @@ static void test_sessions(void)
IDBProperties_Release
(
dsource
);
IGetDataSource_Release
(
datasource
);
hr
=
IUnknown_QueryInterface
(
session
,
&
IID_ITransaction
,
(
void
**
)
&
transaction
);
todo_wine
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
if
(
hr
==
S_OK
)
ITransaction_Release
(
transaction
);
hr
=
IUnknown_QueryInterface
(
session
,
&
IID_ITransactionLocal
,
(
void
**
)
&
local
);
todo_wine
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
if
(
hr
==
S_OK
)
ITransactionLocal_Release
(
local
);
hr
=
IUnknown_QueryInterface
(
session
,
&
IID_ITransactionObject
,
(
void
**
)
&
object
);
ok
(
hr
==
E_NOINTERFACE
,
"got 0x%08x
\n
"
,
hr
);
hr
=
IUnknown_QueryInterface
(
session
,
&
IID_ITransactionJoin
,
(
void
**
)
&
join
);
todo_wine
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
if
(
hr
==
S_OK
)
...
...
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