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
b5c02b21
Commit
b5c02b21
authored
Dec 17, 2019
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Dec 17, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oledb32/tests: Add PromptNew interactive test.
Signed-off-by:
Alistair Leslie-Hughes
<
leslie_alistair@hotmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
6e986bbd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
database.c
dlls/oledb32/tests/database.c
+20
-0
No files found.
dlls/oledb32/tests/database.c
View file @
b5c02b21
...
...
@@ -940,6 +940,26 @@ static void test_dslocator(void)
hr
=
IDataSourceLocator_QueryInterface
(
dslocator
,
&
IID_IRpcOptions
,
(
void
**
)
&
opts
);
ok
(
hr
==
E_NOINTERFACE
,
"got %08x
\n
"
,
hr
);
if
(
winetest_interactive
)
{
IDispatch
*
disp
=
NULL
;
hr
=
IDataSourceLocator_PromptNew
(
dslocator
,
NULL
);
ok
(
hr
==
E_INVALIDARG
,
"got %08x
\n
"
,
hr
);
hr
=
IDataSourceLocator_PromptNew
(
dslocator
,
&
disp
);
if
(
hr
==
S_OK
)
{
ok
(
disp
!=
NULL
,
"got %08x
\n
"
,
hr
);
IDispatch_Release
(
disp
);
}
else
{
ok
(
hr
==
S_FALSE
,
"got %08x
\n
"
,
hr
);
ok
(
!
disp
,
"got %08x
\n
"
,
hr
);
}
}
IDataInitialize_Release
(
datainit2
);
IDataInitialize_Release
(
datainit
);
...
...
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