msado15/tests: Add test for interface ADOConnectionConstruction15.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alistair Leslie-Hughes 2020-12-23 20:13:57 +11:00 committed by Alexandre Julliard
parent df2c595181
commit a23c54288e
1 changed files with 6 additions and 0 deletions

View File

@ -1024,6 +1024,7 @@ static void test_Connection(void)
IRunnableObject *runtime;
ISupportErrorInfo *errorinfo;
IConnectionPointContainer *pointcontainer;
ADOConnectionConstruction15 *construct;
LONG state, timeout;
BSTR str, str2, str3;
ConnectModeEnum mode;
@ -1044,6 +1045,11 @@ static void test_Connection(void)
ok(hr == S_OK, "Failed to get IConnectionPointContainer interface %08x\n", hr);
IConnectionPointContainer_Release(pointcontainer);
hr = _Connection_QueryInterface(connection, &IID_ADOConnectionConstruction15, (void**)&construct);
todo_wine ok(hr == S_OK, "Failed to get ADOConnectionConstruction15 interface %08x\n", hr);
if (hr == S_OK)
ADOConnectionConstruction15_Release(construct);
if (0) /* Crashes on windows */
{
hr = _Connection_get_State(connection, NULL);