[PATCH] msado15/tests: Add test for interface ADOConnectionConstruction15

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Wed Dec 23 03:13:57 CST 2020


Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
---
 dlls/msado15/tests/msado15.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/dlls/msado15/tests/msado15.c b/dlls/msado15/tests/msado15.c
index cafb73d64e4..8b08e8af193 100644
--- a/dlls/msado15/tests/msado15.c
+++ b/dlls/msado15/tests/msado15.c
@@ -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);
-- 
2.29.2




More information about the wine-devel mailing list